Does NJ-1040NR tax calculation include income from all states for nonresidents?

Filing NJ-1040NR for the first time this year. I worked in New Jersey for about five months but live in another state. My broker also sent a 1099-B with gains from stock sales, and I have W-2 wages from my home state employer too. When I started filling out the NJ-1040NR, the instructions seem to say I report all income everywhere on one line and then back out the non-NJ portion — but that seems weird. Why would New Jersey care about my California wages or my brokerage gains on stocks that have nothing to do with NJ? I tried reading the NJ Division of Taxation nonresident instructions but honestly they're dense. Does the NJ-1040NR tax calculation include income from all states, or only the income I actually earned in New Jersey? And how do my stock sale gains factor in — do those count as NJ-source income?

34 comments

NJ-1040NR works on a two-step approach. You do report total income from everywhere on the front of the form — that sets your "tax rate" essentially — but then you apply an allocation ratio so you only actually pay NJ tax on your NJ-source income. It's not unusual, a lot of states do it this way to get the right effective rate.

Elena B.

Author

So the total income figure is just used to find the tax bracket, and then the ratio brings it down to the NJ portion? That actually makes more sense than I thought.

Exactly. The allocation percentage is your NJ income divided by total income. The resulting tax is your NJ liability. Keep your records clean so that ratio is defensible.

The stock sale gains are the tricky part. NJ generally considers capital gains from securities as income sourced to your state of domicile, not to the state where you happened to work. So if you're domiciled in California, those 1099-B gains typically wouldn't be NJ-source income. But check whether any of the underlying companies had NJ property — that can change things in edge cases.

Elena B.

Author

Good to know. These are all publicly traded ETFs and large-cap stocks, nothing NJ-specific. So sounds like those gains stay out of the NJ-source column.

NJ-1040NR Schedule NJ-COJ and the allocation worksheet tripped me up too. The form asks for total gross income on line 29 (all sources worldwide), then your NJ gross income on line 54. The ratio of those two drives your actual NJ tax. The instructions for Schedule NJ-BUS-2 also matter if you had any self-employment, but for W-2 and 1099-B you're mostly in the main form.

I uploaded my NJ-1040NR draft and all the supporting docs to taxr.ai last month when I was in a similar spot. Taxr read through everything and flagged that my NJ wages on the allocation worksheet didn't match the NJ box on my W-2 — I had pulled the number from the wrong line. It also checked whether my brokerage gains were landing in the right column. Saved me from filing with a mismatched ratio. The two-step total-income-then-allocation method is exactly what it confirmed from the form itself.

Elena B.

Author

That W-2 box mismatch is exactly the kind of thing I'd miss. I'm going to look at my W-2 boxes carefully now — which box did you use for the NJ wages?

Box 16 on the W-2, labeled "State wages" with NJ in box 15. That's the number that goes into your NJ-source wages on the allocation worksheet, not box 1.

Worth noting: the reason NJ uses total income in the calculation isn't arbitrary. Without it, a nonresident with huge out-of-state income would get a lower rate on their NJ income than a resident with the same NJ earnings. The gross income tax in NJ is progressive, so the total-income figure places you in the right bracket before the allocation cuts it down.

Elena B.

Author

That framing actually makes it click for me. It's a bracket-setting mechanism, not an attempt to tax non-NJ income directly.

For the 1099-B specifically — did your broker designate any of those sales as NJ-source on the form? Mine never did, and the NJ instructions confirm that gain on marketable securities goes to your domicile state. Only thing that could drag those gains into NJ is if the securities were shares in a partnership or S-corp that holds NJ real property. ETFs and publicly traded stocks, you're fine leaving them out of the NJ column.

One thing that confused me on my NJ-1040NR: the form has a "New Jersey gross income" concept that differs from federal AGI. NJ doesn't allow certain deductions that reduce federal AGI. So your total income figure on the NJ form might actually be higher than your federal AGI. Make sure you're using NJ gross income rules, not just copying federal numbers.

This is a real gotcha. NJ doesn't follow federal treatment of things like IRA deductions or certain retirement income exclusions. The NJ-1040NR instructions have a category-by-category breakdown of what counts.

Elena B.

Author

I do have a small traditional IRA deduction on my federal return. Good flag — I'll check whether NJ adds that back.

My first NJ nonresident return: I mistakenly only reported my NJ wages and left total income as the same number, skipping the worldwide income step entirely. NJ sent a letter asking me to explain why my allocation percentage was 100%. Had to file an amended NJ-1040NR and show the correct total income with the allocation ratio. The process is annoying but straightforward once you understand the form.

Elena B.

Author

That's a good cautionary tale. So NJ actually checks that the ratio makes sense against what other states might also report?

They seemed to, yes. I think they cross-reference against federal return data. The amended return resolved it without penalties once I showed the right numbers.

For the capital gains holding period side of this — NJ follows a similar short-term vs. long-term distinction for its own rate purposes. Check Publication 550 on the IRS site for the federal holding period rules (day after acquisition to trade date of sale), and then verify whether NJ applies any different treatment in its own instructions, since NJ gross income tax has its own category system.

NJ-1040NR line 54 is where your NJ gross income lands after you've gone through each income category. I had Taxr check my completed draft against my source documents — it went line by line and spotted that I'd entered my partnership K-1 income in the wrong NJ income category, which would have skewed the allocation. The form's category system (wages, net profits, gains, etc.) is strict, and misclassifying income shifts the ratio.

Elena B.

Author

I don't have K-1 income this year, just W-2 and 1099-B, but good to know the categories matter that much. I'll make sure the 1099-B gains go in the "net gains" category and not mixed into wages.

Right, NJ has a separate category for net gains from disposition of property. That's where 1099-B proceeds and basis flow through. Keep it out of the other income buckets.

The allocation worksheet on NJ-1040NR can also be affected by days worked inside vs. outside NJ if you're a W-2 employee who worked remotely part of the time. If some of those five months were remote days from your home state, your NJ wages might be less than the full W-2 box 16 amount. Employers don't always withhold correctly when remote work is involved.

Elena B.

Author

This is relevant — I did have some remote days in there. So technically the NJ-source wages should only reflect days I was physically in NJ?

Generally yes, NJ taxes wages for days you performed services in NJ. Your employer might have a day-count log or you may need to reconstruct it. If the amounts are significant it's worth getting a CPA who does multi-state returns to review.

Schedule NJ-COJ is only relevant if you're claiming a credit for taxes paid to another jurisdiction — that's the resident state credit mechanism, not the NJ-1040NR itself. As a nonresident filer you won't be filing NJ-COJ. Your home state may give you a credit on its own return for the NJ tax you pay, but that's on your resident state return, not the NJ-1040NR.

Correct. NJ-COJ is a resident form. OP should look at their home state's credit for taxes paid to another state, which typically shows up on a schedule in the resident return.

NJ-1040NR instructions say the allocation ratio goes to four decimal places — small differences in how you round can shift your NJ tax by a few dollars either direction. I had Taxr build a comparison worksheet using my actual numbers from the W-2 and 1099-B, and it matched my manual calc almost exactly except it caught a rounding error I'd made on the ratio. Useful check before submitting.

Elena B.

Author

Four decimal places — I would absolutely have rounded to two. Good to know that's specified in the instructions.

If your NJ employer withheld NJ tax from your W-2, those withholdings go on the NJ-1040NR payment line. Make sure the NJ withholding in W-2 box 17 matches what you enter — NJ sometimes sends CP-type notices when the withholding on the return doesn't match what the employer reported.

Worth double-checking: if any of your stock sales on the 1099-B triggered a wash sale, the disallowed loss gets a code W in Form 8949 column (f) and the disallowed amount as a positive number in column (g). That adjusted basis then flows into the gain/loss you eventually report. For NJ purposes, you'd carry the corrected gain or loss figure — after the wash sale adjustment — into the NJ net gains category, not the pre-adjustment number.

Elena B.

Author

No wash sales this year, all my sales were straightforward. But useful to know the sequencing — federal 8949 adjustment first, then the corrected figure goes to NJ.

To summarize where this thread has landed: NJ-1040NR uses worldwide income to set the tax rate, then applies an allocation ratio so only NJ-source income is actually taxed. 1099-B gains on publicly traded securities go to your domicile state, not NJ. W-2 wages are NJ-source only for days worked physically in NJ. The income categories on the form are strict — keep gains, wages and other income in their separate NJ buckets.

Elena B.

Author

This is a solid summary. I think I have what I need to finish the form correctly. Main action items: use W-2 box 16 for NJ wages, adjust for remote days, leave ETF gains out of NJ column, and run the allocation to four decimal places.