How to handle 1042-S with income code 23 as a Nonresident alien?
I'm filing as a nonresident alien for 2023 using form 1040-NR and have a question about my 1042-S. My company relocated me to Chicago and gave me $4,100 as reimbursement for moving expenses. They withheld 30% in taxes from this amount ($1,230). I received a 1042-S form showing the total payment ($4,100) and the taxes withheld ($1,230). The income code is listed as 23. I'm using a tax preparation website that supposedly supports 1040-NR. When I enter the 1042-S information, it correctly shows the $1,230 I've already paid in taxes, but doesn't add the $4,100 to my gross income. The software says that because the income code is 23, I need to manually add that income as part of my salary. Is this correct? Where and how should I include this $4,100 in my tax return? Do I need to report it as additional income somewhere else on the form? I want to make sure I'm doing this right since it's my first time filing with a 1042-S form.
19 comments


AstroAce
The software is correct. Income code 23 on Form 1042-S represents "Other income" which in your case is the moving expense reimbursement. Since you're filing as a nonresident alien using Form 1040-NR, this amount needs to be reported as part of your income. For Form 1040-NR, you should include this $4,100 on Schedule 1 (Form 1040), Additional Income and Adjustments to Income, Line 8 "Other income" and write "Moving expense reimbursement" next to it. Then transfer the total from Schedule 1 to your 1040-NR on the appropriate line for "Other income." The $1,230 tax withholding should be reported on your 1040-NR in the Payments section as "Federal income tax withheld from Forms W-2 and 1099." This ensures you get credit for taxes already paid.
0 coins
Zoe Kyriakidou
•Thanks for explaining this! I had a similar situation with income code 23 but wasn't sure if it was taxable. Does it matter that the reimbursement was for work-related moving expenses? I thought those might be deductible or non-taxable income.
0 coins
AstroAce
•Income code 23 represents taxable income, regardless of it being a reimbursement for work-related moving expenses. The Tax Cuts and Jobs Act eliminated the moving expense deduction for most taxpayers starting in 2018 through 2025 (with exceptions for active-duty military members). For nonresident aliens specifically, these reimbursements are considered U.S. source income and are generally taxable. The 30% withholding your employer applied is consistent with the standard withholding rate for nonresident aliens receiving this type of payment, unless modified by a tax treaty between the U.S. and your home country.
0 coins
Jamal Brown
I struggled with a similar issue last year and found amazing help using https://taxr.ai - they specialize in tax document analysis for complicated situations like 1042-S forms and nonresident alien status. I uploaded my 1042-S and W-2, and they immediately identified exactly where my income code 23 payment needed to be reported. The software I was using had the same limitation - it recognized the withholding but not the income. Their system correctly told me to add it to Schedule 1 and provided the exact line references for my 1040-NR. They even have specialists who understand tax treaties that might reduce your tax rate below the standard 30% withholding.
0 coins
Mei Zhang
•That sounds helpful but I'm skeptical. How does it work exactly? Does it just give you advice or does it actually prepare your taxes? And how does it handle the different tax treaties that can apply to nonresident aliens?
0 coins
Liam McConnell
•I've tried several tax software options and none handle the 1042-S correctly for my scholarship income (different code but same problem). Does taxr.ai actually complete the forms for you or just tell you how to do it?
0 coins
Jamal Brown
•The service analyzes your documents and provides specific guidance on how to properly report them in your tax return. It doesn't prepare the entire return for you, but gives you detailed instructions for entering the information correctly in whatever tax software you're using. For tax treaties, it identifies applicable treaty provisions based on your citizenship and income type. For example, when I uploaded my 1042-S with income from the UK, it immediately flagged that Article 20 of the US-UK tax treaty might apply to my situation and explained exactly how to claim the treaty benefit on Form 8833.
0 coins
Liam McConnell
Just wanted to update after trying taxr.ai for my nonresident alien tax situation. It was exactly what I needed! I uploaded my 1042-S with scholarship income (code 15) and it immediately identified that I needed to report it on Form 1040-NR line 1b and explained the exact process. The best part was that it found a tax treaty provision I didn't know about that exempted part of my income from taxation. The system explained exactly how to fill out Form 8833 to claim the treaty benefit. My university's international office had missed this completely! Really saved me from overpaying taxes and gave me confidence that I was filing correctly. Totally worth it for complicated international tax situations.
0 coins
Amara Oluwaseyi
If you're having trouble getting answers from the IRS about your nonresident alien status and how to report your 1042-S, I highly recommend using https://claimyr.com to get through to an actual IRS agent. As a nonresident alien, my tax questions were super specific and no generic advice was helping. I spent weeks trying to call the IRS directly with no luck - always disconnected after waiting for hours. Claimyr got me through to a real IRS agent in less than 30 minutes who confirmed exactly how to report my income code 23 on my 1040-NR. You can see how it works in this video: https://youtu.be/_kiP6q8DX5c The agent even helped me understand which tax treaty provisions applied to my specific situation, which ended up saving me over $2,000 in taxes I wouldn't have known I could avoid.
0 coins
CosmicCaptain
•How does this service actually work? I've tried calling the IRS international taxpayer line at least 10 times and always get disconnected. Do they just keep calling for you or something?
0 coins
Giovanni Rossi
•This sounds like a scam. Why would paying some third party help you get through to the IRS faster? The IRS doesn't have a priority line that companies can access. I'm pretty sure you're just wasting money on something you could do yourself with enough persistence.
0 coins
Amara Oluwaseyi
•The service uses an automated system that navigates the IRS phone tree and waits on hold for you. When they get through to a real person, you get a call connecting you to that agent who's already on the line. It's not a special "priority line" - they're just doing the waiting for you. It worked great for me because the IRS international taxpayer line has extremely limited hours (which were middle of the night in my time zone), and I kept getting disconnected after waiting for 2+ hours. With Claimyr, I just scheduled it during IRS business hours and got a call when an agent was on the line.
0 coins
Giovanni Rossi
Alright, I need to apologize and correct myself. After dismissing Claimyr as a likely scam in my previous comment, I decided to try it as a last resort because I was desperate to get an answer about my 1042-S reporting requirements before the filing deadline. To my complete surprise, it actually worked exactly as described. After three weeks of failing to get through to anyone at the IRS international taxpayer line, I got connected to an agent within about 40 minutes. The agent confirmed that my scholarship income on the 1042-S needed to be reported differently than what my university tax office had told me. I'm still shocked that it worked, but it saved me from making a serious error on my return. Sometimes being proven wrong is actually a good thing!
0 coins
Fatima Al-Maktoum
Just to add some more info for nonresident aliens dealing with 1042-S forms: If your income code is 23 and you're from a country that has a tax treaty with the US, you might qualify for a reduced withholding rate or even exemption. I'm from Germany, and under our tax treaty, I was able to get some of my similar payments taxed at only 15% instead of 30%. You need to submit Form 8233 to your employer BEFORE they make the payment to get the reduced withholding rate. If they've already withheld at 30%, you can claim a refund of the excess amount when you file your return.
0 coins
Andre Laurent
•Thank you for mentioning this! My home country does have a tax treaty with the US. Is it too late to claim any treaty benefits since the payment and withholding already happened? Or can I still somehow claim the treaty benefit when filing my 1040-NR?
0 coins
Fatima Al-Maktoum
•It's not too late! You can still claim treaty benefits when you file your tax return, even if the full 30% was already withheld. You'll need to fill out Form 8833 (Treaty-Based Return Position Disclosure) and attach it to your 1040-NR. On the form, you'll need to cite the specific tax treaty article that applies to your situation and explain why your moving expense reimbursement qualifies for reduced taxation under the treaty. The excess withholding will be refunded to you after your return is processed. Just be sure to keep a copy of your 1042-S and any supporting documentation showing the nature of the payment.
0 coins
Dylan Mitchell
One thing to watch out for - make sure your tax software is actually calculating everything correctly after you manually add the income. I had a similar situation with code 23 income, and TurboTax allowed me to enter it but didn't properly account for it in the final calculations. H&R Block's online version handled it better for me. But regardless of which software you use, I recommend double-checking the final numbers by hand. The 1040-NR is unfortunately not as well supported by most tax software as the regular 1040.
0 coins
Sofia Gutierrez
•Which tax software would you recommend for nonresident aliens with 1042-S income? I tried FreeTaxUSA but it doesn't seem to support 1040-NR at all.
0 coins
Dylan Mitchell
•I found Sprintax to be the best option for nonresident alien returns with 1042-S forms. It's specifically designed for international students and scholars, so it understands all the income codes and treaty provisions. H&R Block's online version also works reasonably well if your situation isn't too complex. TaxAct supports 1040-NR but struggles with some of the more unusual income codes. TurboTax can work but requires more manual adjustments and verification. FreeTaxUSA unfortunately doesn't support 1040-NR at all, as you discovered. Whatever software you choose, I still recommend having someone knowledgeable review the final return before filing, especially if significant tax treaty benefits are involved.
0 coins