Yes—an undocumented immigrant who meets the ordinary federal income-tax filing thresholds must file a federal return, even though immigration status is irrelevant to the filing requirement itself; whether a particular person must file depends on income, filing status, age, and tax residency, not on lawful presence. The same principle generally applies to state income tax in states that impose one, though state rules vary.

The Condition That Actually Decides It

The question "are illegal immigrants required to file taxes" mixes two different things: immigration status and tax status. The Internal Revenue Code does not ask whether a worker is documented. It asks whether the person is a tax resident of the United States (or has U.S.-source income) and whether their gross income crosses the applicable filing threshold for their filing status. An undocumented immigrant who earns enough is therefore in the same position as a citizen earning the same amount. A person with substantial income who does not file can face the same failure-to-file and failure-to-pay penalties as anyone else.

The common headline that "undocumented immigrants pay taxes" is accurate but imprecise. Many pay payroll taxes through withheld wages, sales taxes, and property taxes regardless of filing. The filing duty is a narrower question: it is triggered by income above a threshold, not by buying groceries or renting an apartment.

What Counts as "Tax Resident"

Federal tax law recognizes resident aliens, nonresident aliens, and citizens. An undocumented immigrant who lives in the United States year after year is generally a resident alien for tax purposes under the substantial-presence test (broadly, presence in the current year plus weighted prior years), unless an exception applies. Resident aliens are taxed on worldwide income and file on the same forms as citizens—Form 1040 and its schedules. A person present only briefly, such as a temporary visitor, may be a nonresident alien with different rules, including possible treaty exemptions. That distinction, not the visa label, governs most filing questions.

This is why a blanket statement that "all immigrants must file" is slightly off. A lawful temporary visitor below the substantial-presence threshold may owe little or no U.S. income tax on certain foreign-source income, while an undocumented worker who has lived here for years generally cannot claim that treatment. The category that matters is tax residency.

Filing Thresholds in Practice

For a single filer under 65, the general rule is that a federal return is required when gross income reaches the standard deduction amount for that filing status in the applicable tax year; additional rules apply to self-employment income (generally $400 or more), dependents, and special credits. Because these figures are set annually and change with legislation, the exact dollar amount must be confirmed for the tax year in question rather than assumed. What does not change is the structure: status is not a factor.

A concrete illustration helps. Suppose an undocumented worker earns $9,000 from an employer in a year and has federal income tax withheld. If that amount is below the filing threshold for their status, they may not be required to file, but filing is often worthwhile because it is the only way to claim a refund of withheld taxes. By contrast, a worker earning $60,000 clearly must file, and failing to do so exposes them to penalties and interest. The threshold, not the immigration label, separates the two.

Self-employment adds a wrinkle. An undocumented person working as an independent contractor—cleaning, construction, delivery, childcare—may owe self-employment tax once net earnings reach the $400 threshold, even if overall income is modest. That obligation exists independently of income-tax liability and is frequently overlooked.

The ITIN Mechanism

Undocumented workers generally cannot obtain a Social Security number, so they file using an Individual Taxpayer Identification Number issued by the IRS. An ITIN is a nine-digit number for people who have U.S. tax obligations but are not eligible for an SSN. Critically, an ITIN does not confer work authorization, lawful status, or any immigration benefit. It is a tax-processing identifier only.

First-time applicants typically apply on Form W-7 and must generally include a federal tax return with the application (with limited exceptions, such as certain treaty or withholding situations). Once issued, the ITIN can be used on federal returns and, in many states, on state returns as well. ITINs expire after a period of nonuse and must be renewed; a stale ITIN can cause a return to be rejected or a refund delayed.

Some workers instead file with an SSN obtained under a previous status or with a number that does not match their current work situation. Using a false SSN on a W-4 or tax return raises separate legal exposure that an ITIN filing avoids. The ITIN route is the cleanest way to comply with the tax code without making false statements.

Withholding and Refunds

Employers often withhold federal income tax and payroll taxes (Social Security and Medicare) from wages. Withholding happens whether or not the worker is documented. Filing a return is how a worker recovers over-withheld income tax. Payroll taxes are different: they are the employee's and employer's shared contributions, and an employee generally cannot claim a refund of the employee share merely because they lack status. Some workers file to claim refundable credits, but eligibility for credits such as the Earned Income Tax Credit depends on specific requirements, including having a valid SSN for the credit year in many cases, so ITIN filers should not assume eligibility.

State income tax follows its own rules. Most states with an income tax require a return when federal filing thresholds or state-specific thresholds are met, and many accept ITINs. A few states have different treatment or additional forms. Local taxes, such as city income taxes in some jurisdictions, add another layer. The general principle—status does not excuse the obligation—carries over, but the mechanics vary by state.

Confidentiality, Enforcement, and Real Risks

A persistent myth holds that filing taxes automatically flags a person for deportation. Federal law generally restricts the IRS from disclosing taxpayer return information to other agencies except in limited circumstances, such as certain non-tax criminal investigations. The IRS itself does not enforce immigration law. That protection is meaningful but not absolute: court orders, certain criminal referrals, and information shared under specific agreements can create exceptions, and reporting rules can change. Anyone weighing whether to file should treat confidentiality as a general safeguard rather than an ironclad guarantee, and should get current advice rather than rely on a slogan.

There are also practical consequences on the other side. Not filing can jeopardize a later effort to adjust status or obtain certain immigration benefits, because applicants are often asked to show tax compliance. Unpaid tax liabilities can surface in future immigration or naturalization processes. Conversely, filing creates a record of income and residence that can be useful. The calculus is genuinely individual.

Ambiguities the Question Leaves Open

Several things are unknown from the question as phrased. It does not specify the tax year, the person's income, filing status, age, dependents, state of residence, or whether the income is W-2 wages or self-employment. It also does not specify whether the person is a resident alien or nonresident alien for tax purposes. Each of these changes the answer at the margins. What can be said with confidence is the structural point: the filing obligation is keyed to income and tax residency, and undocumented status neither creates an exemption nor, by itself, imposes a duty where the thresholds are not met.

The question also uses "illegal immigrants," a term with no fixed legal definition. Someone present without inspection, someone who overstayed a visa, someone with a pending asylum application, and someone with temporary protected status can all be described loosely as undocumented, yet their tax residency and filing positions may differ. Precision about the person's situation matters more than the label.

Why the Confusion Persists

The confusion arises because two true statements get compressed into one. First, undocumented immigrants often pay substantial taxes—through withholding, sales tax, and property tax—so people say they "pay taxes." Second, the law requires returns from anyone meeting the thresholds, so people say they "must file." Both are true, but neither is unconditional. A low-earning worker below the threshold may owe no income tax and have no filing duty, while still paying sales tax. A higher earner must file. A self-employed worker may owe self-employment tax at very low income. The single sentence "undocumented immigrants must file taxes" hides all of this variation.

There is also a register issue. In everyday speech, "required to file taxes" often means "should file to be safe," which is broader than the legal duty. Filing voluntarily below the threshold is permissible and often wise, especially to claim refunds or establish a compliance record. That is different from being legally compelled.

A Practical Summary

The defensible general answer is that undocumented immigrants are subject to the same federal income-tax filing rules as anyone else who is a U.S. tax resident or has U.S.-source income, and must file when their income exceeds the applicable threshold; they commonly do so with an ITIN, which carries no immigration status. State rules generally follow, with variations. The precise threshold, credit eligibility, and confidentiality protections depend on the tax year, the state, and the individual's circumstances, and those details should be verified against current IRS and state guidance or with a qualified tax professional rather than inferred from a general statement.