Resident alien (H1-B visa) and non-resident alien spouse (F-1 OPT), Married Filing Jointly

I am a resident alien (H1-B visa) and my spouse is a non-resident alien (F-1 OPT), and we would like to file our taxes as Married Filing Jointly. The irs website* says that in order to do so we would have to attach a statement asking to treat my spouse as a resident alien, and it also explicitly mentions that my spouse "may still be treated as a nonresident alien for the purpose of withholding Social Security and Medicare tax". However, I have seen this question get asked several times on this site, and people have answered saying that the spouse may become liable for social security and medicare taxes. Can someone who has been in this situation please comment. 

Also, I understand that I can't e-file my taxes if I want to file this way. Can I print out the forms that Turbo Tax generates and file those by mail? Do any of the calculations that Turbo Tax generates change if I want a non-resident alien spouse to be treated as a resident? Is there anything else I need to be aware of while doing this?

    Contribute an answer

    People come to TurboTax AnswerXchange for help and answers—we want to let them know that we're here to listen and share our knowledge. We do that with the style and format of our responses. Here are five guidelines:

    1. Keep it conversational. When answering questions, write like you speak. Imagine you're explaining something to a trusted friend, using simple, everyday language. Avoid jargon and technical terms when possible. When no other word will do, explain technical terms in plain English.
    2. Be clear and state the answer right up front. Ask yourself what specific information the person really needs and then provide it. Stick to the topic and avoid unnecessary details. Break information down into a numbered or bulleted list and highlight the most important details in bold.
    3. Be concise. Aim for no more than two short sentences in a paragraph, and try to keep paragraphs to two lines. A wall of text can look intimidating and many won't read it, so break it up. It's okay to link to other resources for more details, but avoid giving answers that contain little more than a link.
    4. Be a good listener. When people post very general questions, take a second to try to understand what they're really looking for. Then, provide a response that guides them to the best possible outcome.
    5. Be encouraging and positive. Look for ways to eliminate uncertainty by anticipating people's concerns. Make it apparent that we really like helping them achieve positive outcomes.