Nonresident tax returns can be filed online or through the mail. To file online, visit the IRS website and select the “Nonresident Tax Returns” option. To file through the mail, download the necessary forms from the IRS website and send them to the appropriate address.