Deductions & credits

No magic.  Your loss will be applied toward any capital gain and then $3,000  ($1,500 if MFS) will be subtracted from your regular income and rest carried over. You must use the carry over loss each year even if you have no income or else you will lose the loss.