HomeHelpful Guides › California Form 540, Line by Line
California Tax Guide

California Form 540, Line by Line

Form 540 is California’s resident income tax return — the state counterpart to your federal 1040. Live in California for the full year and this is the return you file. It picks up where the 1040 leaves off, then layers on California’s own adjustments, its 1%-to-12.3% brackets, and a handful of credits the federal return has never heard of. This guide walks the form section by section, with the 2025 numbers, so you can see what each line is asking for and exactly where California stops following federal rules.

Every Section of Form 540, Line by Line

Each card below opens a focused walkthrough of one part of the return. Start with filing status if you are reading top to bottom, or jump straight to the line that is giving you trouble — the Schedule CA adjustments and the tax-rate schedule are the two most people come here for.

What Form 540 Is, and Who Has to File It

California has three resident-side returns, and picking the wrong one is the first mistake people make. Form 540 is the standard full-year resident return. Form 540NR is for part-year residents and nonresidents with California-source income. Form 540 2EZ is a stripped-down version for simple situations — limited income types, no itemizing, a short list of credits. Most people with a W-2, a brokerage account, or a side business belong on the full 540.

You file a 540 if you were a California resident for the entire year and your income clears the filing threshold for your age and filing status. For 2025, a single filer under 65 generally has to file once gross income passes roughly $45,900, but the threshold climbs with dependents and a second 65-or-older spouse, so check the table in the 2025 Form 540 booklet rather than guessing. Even below the threshold, file if California withheld tax from your paychecks — that refund does not come back on its own.

Filing Status and the Exemption Credits California Kept (Lines 1–11)

Lines 1 through 5 set your filing status. California recognizes the same five statuses as the IRS, plus one wrinkle: registered domestic partners file jointly or separately for state purposes even though the federal return treats them as single. If you are an RDP, your federal and California filing statuses will not match, and that is normal.

Lines 7 through 11 are where California parts ways with the post-2017 federal return. The Tax Cuts and Jobs Act zeroed out federal personal exemptions; California never did. For 2025 you claim a $153 personal exemption credit per taxpayer and a $475 credit per dependent — and because these are credits, not deductions, they come straight off your tax. A married couple with two kids starts with $1,256 in exemption credits before anything else. They phase out once federal AGI passes $252,203 for a single filer; the 540 instructions carry the worksheet. Full breakdown on the filing status and exemptions page.

Income and the Wage Number That Surprises People (Lines 12–17)

Line 12 asks for your state wages — box 16 of your W-2, not box 1. Those two numbers are often different. California taxes some things the federal system excludes (HSA contributions are the classic example) and excludes some things the federal system taxes, so an employer’s payroll system reports a separate California wage figure. Enter box 16, not box 1, or every downstream line is wrong.

Line 13 pulls your federal adjusted gross income straight off the 1040. That single number anchors the whole return — deduction phase-outs, credit limits, and the exemption-credit haircut all key off it. From there, lines 14 through 17 walk through the subtractions and additions from Schedule CA to land on your California AGI. See the federal AGI walkthrough for how line 13 flows down the form.

Schedule CA: Where Federal and California Part Ways

Schedule CA (540) is the engine room of the return, and it is where a preparer earns their fee. Every place California’s tax law differs from the Internal Revenue Code gets reconciled here, in two columns: additions for income California taxes that the federal return excluded, subtractions for income the IRS taxed that California leaves alone.

The common ones: California does not conform to the federal treatment of HSA contributions, so they get added back. It does not tax California lottery winnings, U.S. savings bond interest used for education, or certain backup-withholding items, so those come out. California also decoupled from large chunks of federal bonus depreciation and the QBI deduction. The 2025 Schedule CA (540) instructions list every adjustment line by line. If your federal and California numbers match exactly, you almost certainly missed something on this schedule.

Your Deduction and Taxable Income (Lines 18–19)

Line 18 is your deduction. For 2025 the California standard deduction is $5,706 for single and married-filing-separately filers and $11,412 for joint filers, heads of household, and qualifying surviving spouses. Those are far below the federal standard deduction, which is the reason a lot of Californians itemize on the state return even when they take the standard deduction federally.

That split is the move worth knowing: you are allowed to itemize on California while claiming the federal standard deduction. With state income tax, property tax, and mortgage interest in the mix, California itemized deductions often beat $5,706 for a single filer without much effort. Line 19 subtracts the deduction and gives you taxable income — the number the tax rates actually hit.

How California Calculates the Tax (Lines 31–35)

California runs a progressive schedule from 1% to 12.3%. For 2025, a single filer reaches the top 12.3% bracket on taxable income over $742,953 (the joint threshold is double that). Most filers do not compute this by hand — if taxable income is under $100,000 you use the tax table, and above it you use the rate schedules in the 540 booklet. The tax rates and brackets page shows the full schedule.

California gives capital gains no break. A long-term gain that the IRS taxes at 15% or 20% is taxed by California at your ordinary rate — up to 13.3% once the surcharge applies. That is why a big sale year hurts so much more on the state return.

Credits, From the Renter’s Credit to the PTE Credit (Lines 40–48)

This block is where California hands money back. The nonrefundable renter’s credit is small — $60 single, $120 joint — and tied to an income limit, but it is the most-forgotten credit on the form because nobody expects renting to be worth anything at tax time. Bigger items live here too: the other state tax credit for income another state already taxed, and the pass-through entity elective tax credit, which is how California business owners route state tax through their S-corp or partnership to sidestep the federal SALT cap. The PTE credit alone can be worth five figures, so if you own a pass-through, read that one closely.

Other Taxes, Including the 1% Surcharge Over $1M (Lines 61–64)

Lines 61 through 64 add the taxes that sit outside the regular brackets. Line 61 is California’s alternative minimum tax, computed on Schedule P. Line 62 is the 1% surcharge on taxable income over $1,000,000 — long called the Mental Health Services Tax and, for tax years beginning in 2025, renamed the Behavioral Health Services Tax after voters reworked the program. The name changed; the math did not. Stack that 1% on the 12.3% top bracket and the real top marginal rate in California is 13.3%, the highest state income tax rate in the country.

Payments, Refundable Credits, Use Tax, and the Final Math (Lines 71–115)

The back of the form reconciles what you have already paid against what you owe. Lines 71 through 73 capture California withholding and estimated payments — and note that California front-loads its safe harbor, demanding 30% of estimates in Q1 and 40% in Q2 rather than four even installments. Lines 75 and 76 hold the refundable credits: CalEITC and the Young Child Tax Credit, both of which can pay out even if you owe no tax. Line 91 is use tax on out-of-state purchases, line 92 is the individual shared-responsibility penalty for going without health coverage, and the final lines settle your refund or balance due.

Frequently Asked Questions

Do I have to file a California Form 540 if I work remotely for an out-of-state company?

If you live in California, yes. Where your employer sits has nothing to do with it. California taxes its residents on worldwide income, so a remote worker living in San Diego who draws a paycheck from a New York or Texas company still reports those wages on Form 540. The state in box 15 of your W-2 might say somewhere else, and California still has the first claim on the income because you are a resident.

Here is the mechanics of how residency drives the return. California defines a resident as someone in the state for other than a temporary or transitory purpose, or someone domiciled in California who is outside the state only temporarily. Once you meet that test for the full year, every dollar you earn, no matter the source or the employer location, flows onto Form 540. Your federal adjusted gross income lands on line 13, the Schedule CA adjustments reconcile the federal and California differences, and the 1 percent to 12.3 percent rate schedule applies to the result. The official residency framework is laid out in the FTB residency guidance.

The question that actually matters is whether a second state also has a claim on the same wages. If you physically travel to another state and perform work there, that state can usually tax the income earned within its borders. You would then file a nonresident return in that state and a resident 540 in California. To stop the same dollars from being fully taxed twice, California gives you the other state tax credit, which offsets your California tax by the amount the other state charged on the doubly taxed income. The credit is computed on Schedule S and is the standard tool for a resident who owes tax to two states.

Now the worked example. Say you live in California all year, earn 150,000 dollars from a Texas employer, and never set foot in Texas to work. Texas has no income tax, so there is no other state credit to claim, and California taxes the full 150,000 dollars. Change the facts so you spend two months physically working in New York and earn 25,000 dollars of that pay while in New York. New York taxes the 25,000 dollars as nonresident income. California still taxes the whole 150,000 dollars because you are a resident, then gives you a credit for the New York tax on the 25,000 dollars so that slice is not taxed at full rate in both places.

The common mistake is the trap that runs the other direction. A few states, New York being the well known one, apply a convenience of the employer rule. Under that rule, if you work remotely from California for a New York employer for your own convenience rather than the employer necessity, New York may tax the income as if you had earned it in New York even though you never left California. When that happens you can face New York tax on wages that California also taxes, and the other state credit math gets technical fast because California does not always allow a full credit for tax imposed under another state convenience rule.

An edge case to watch is the part year situation. If you moved into or out of California during the year, you are not on Form 540 at all. You file Form 540NR for that year and prorate the tax. People conflate a full year remote resident, who files the 540, with a mover, who files the 540NR, and the two are handled very differently. If you were a California resident every day of the year, the 540 is correct. If you changed states mid year, it is not.

When two states are in play, it is worth having both returns prepared together so the credit is coordinated rather than estimated. Our individual tax return team files multi state resident returns regularly, and our tax strategy consulting team handles the convenience rule planning. You can start at the new client inquiry page if you want both states reviewed together this year.

What’s the difference between Form 540 and Form 540NR?

Form 540 is the full year resident return. Form 540NR is for nonresidents and part year residents, meaning anyone who lived in California for only part of the year or who lived elsewhere but earned California source income. Pick the wrong one and you either overpay or trigger an amended return, so the distinction is the first thing to settle before you start filling in numbers.

The cleanest way to choose is to ask how many days of the year you were a California resident. Every single day, no exceptions, puts you on the 540. Fewer than every day, whether because you moved in, moved out, or never lived here but earned money sourced to the state, puts you on the 540NR. A consultant who lived in Los Angeles through June and then moved to Austin files a 540NR for that year. A software engineer who lived in San Jose all twelve months files a 540.

The mechanical difference is how the tax gets figured, and it surprises people. On the 540, all of your income is California income and the 1 percent to 12.3 percent brackets apply directly to your California taxable income. On the 540NR, California first computes a tax as if all of your income for the year were taxable in California, which sets your effective rate, and then it prorates that tax by the share of income that is actually California source. This method, sometimes called the California taxable income ratio method, keeps your rate tied to your total income while charging tax only on the California slice.

Work a 540NR example. Suppose you earned 120,000 dollars for the full year, of which 50,000 dollars was earned while you were a California resident or from California sources, and the rest came after you moved to Texas. California figures the tax on the whole 120,000 dollars to establish the rate, then multiplies by 50,000 over 120,000 to find the California share. You pay California tax on the 50,000 dollars, but at the rate that 120,000 dollars of income commands, not the lower rate 50,000 dollars alone would carry. That ratio step is the heart of the nonresident calculation and the reason a mover cannot just file a 540 for the partial year.

The common mistake is a mover defaulting to the 540 because it is the form they filed last year. Reporting a full year of income on a resident return after a mid year move overstates California tax, and the FTB will eventually flag the mismatch between your move date and your filing status. The reverse error, a full year resident filing a 540NR to try to exclude out of state income, fails because a resident is taxed on worldwide income regardless of where it was earned. Match the form to your residency days and most of the confusion disappears.

An edge case is the dual move year, where you leave California, establish residency elsewhere, and return in the same year. You are a part year resident for two separate windows, and the 540NR handles both periods on one return. Another edge case is a nonresident with only a small slice of California source income, for example a few days of work performed in the state or rent from a California rental property. Even a single California source dollar can require a 540NR if you cross the filing thresholds, so do not assume living out of state means no California return at all. The residency rules behind all of this are in the FTB residency guidance, and the year specific instructions are in the 2025 Form 540 booklet.

If you moved this year and are unsure which return is right, our tax compliance team sorts the residency timeline and files the correct form, and the tax strategy consulting team can plan a future residency change around a sale or equity event. Start at the new client inquiry page.

Does California tax Social Security benefits?

No. California fully exempts Social Security benefits from state income tax. This holds even though the federal government taxes up to 85 percent of those benefits for higher income retirees. California is one of the states that gives Social Security a clean pass at the state level, so the portion of your benefits that the federal return picked up gets backed out before California figures its tax.

Here is how the exemption shows up on the return. Your benefits, to the extent taxable, are already inside the federal adjusted gross income that lands on line 13 of Form 540. California removes them as a subtraction on Schedule CA (540). Whatever amount of Social Security flowed into your federal AGI comes back out in the subtraction column, so it never reaches your California taxable income. You do not get a separate exemption form. The mechanism is the Schedule CA adjustment, and the line by line treatment is spelled out in the 2025 Schedule CA (540) instructions.

Do not assume the rest of your retirement income gets the same break, because it does not. California taxes pensions, traditional IRA distributions, 401(k) and 403(b) withdrawals, and annuity income at ordinary rates, the same 1 percent to 12.3 percent schedule that hits wages. There is no special California exclusion for retirement income beyond Social Security. Roth distributions that are qualified come out tax free at both levels because they were funded with after tax dollars, but a traditional pretax retirement account is fully taxable in California when you draw it.

Work the example. A retiree collects 30,000 dollars of Social Security and pulls 40,000 dollars from a traditional IRA in 2025. Federally, some of the 30,000 dollars of Social Security may be taxable depending on total income, and the full 40,000 dollar IRA draw is taxable. On the California return, the taxable portion of the Social Security that the federal return counted is subtracted out on Schedule CA, so California taxes only the 40,000 dollar IRA distribution. If that retiree is in, say, a 6 percent California marginal bracket on the IRA money, the state tax is roughly 2,400 dollars, and the Social Security adds nothing to it.

Worth understanding is why California can afford to skip Social Security tax when the federal government does not. Social Security benefits replace wages that were already taxed during a worker career, and California policy treats taxing them again in retirement as double counting. The federal partial inclusion exists to recover the employer funded half of the benefit for higher income retirees, a policy California declined to follow. For a California retiree the practical result is simple. Provisional income calculations that determine the federal taxable portion do not carry over to the state, and you never compute a California specific taxable Social Security number. You take the federal figure and subtract it.

The common mistake is retirees self preparing who forget to enter the Social Security subtraction on Schedule CA. If you leave it out, the benefits stay buried in your federal AGI and you overpay California tax on income the state never meant to reach. Always confirm the subtraction line carries the taxable Social Security amount from the federal return. The federal side of how much of your benefit is taxable is explained in IRS Publication 915 on Social Security benefits.

An edge case is railroad retirement benefits, which receive parallel treatment and are also not taxed by California, again through a Schedule CA subtraction. Another is the timing of a large IRA conversion in retirement. Because California taxes the converted amount at ordinary rates with no Social Security style break, a big Roth conversion in a single year can push you into a higher California bracket even while your Social Security stays untaxed, so spreading conversions across years often lowers the lifetime state bill. If you are planning conversions or mapping a retirement draw strategy, our tax strategy consulting team models the California impact, and you can begin at the new client inquiry page.

Why is my California tax bill so much higher than my federal bill on capital gains?

Because California gives capital gains no preferential rate at all. The federal system taxes long term gains at 0 percent, 15 percent, or 20 percent depending on your income. California taxes the same gain as ordinary income, on the 1 percent to 12.3 percent schedule that applies to your wages, plus the 1 percent surcharge once taxable income passes 1,000,000 dollars. That single difference is why a big sale year stings far more on the state return than on the federal one.

Here is the structural reason. The federal preferential rate exists because Congress chose to reward long term investment with a lower rate than ordinary income. California never adopted that policy. To the state, a dollar of long term capital gain and a dollar of wages are the same dollar, taxed on the same brackets. There is no California equivalent of the federal long term holding period benefit, and there is no separate California capital gains schedule. The treatment is confirmed on the FTB capital gains and losses page.

Work the numbers because the gap is stark. Take a 500,000 dollar long term gain for a high earner. Federally, at the top 20 percent long term rate, the gain costs about 100,000 dollars, before any net investment income tax. California stacks its own tax on the very same 500,000 dollars at a marginal rate that can reach 13.3 percent once the surcharge applies, which adds roughly 66,000 dollars with no offsetting break. So the same gain that the federal system taxes at 20 percent is taxed by California at up to 13.3 percent on top, and the combined bite on a single liquidity event can surprise even sophisticated filers.

The common mistake is planning around the federal rate and forgetting the state has no parallel discount. People who sell a business, exercise and sell equity, or close on an investment property model the 20 percent federal number and budget for that, then get blindsided by a six figure California bill they never penciled in. Run both layers when you project a sale. The federal long term rules live in IRS Topic 409 on capital gains and losses, and the California layer has to be added on top rather than substituted in.

Because the planning has to happen before the sale, not at filing time, this is where timing matters most. Harvesting capital losses in the same year offsets gains dollar for dollar at the California level just as it does federally, since California follows the netting of gains and losses. Spreading a sale across two tax years can keep you under the 1,000,000 dollar surcharge threshold in each year. Installment sale treatment, where allowed, can stretch the gain over time and smooth the California brackets. Each of these is a before the sale decision.

One more layer often gets missed. Above 200,000 dollars of modified income for a single filer, the federal 3.8 percent net investment income tax applies to the gain on top of the 20 percent rate, pushing the real federal cost on a long term gain toward 23.8 percent. California has no separate investment surtax, but its 1 percent surcharge over 1,000,000 dollars of taxable income plays a similar role. So a very large gain can face roughly 23.8 percent federally and up to 13.3 percent in California at the same time, a combined rate that approaches 37 percent on the gain before any planning. Seeing both layers stacked is what makes the California bill feel disproportionate. It is not that California is hidden. It is that the state rate sits on top of an already high federal rate with no discount.

An edge case worth knowing is the residency change. Some taxpayers facing a very large gain establish residency in a no tax state before the liquidity event, but California aggressively tests these moves and can tax gain attributable to the period of California residency or to California source property. A move dated a week before closing rarely survives scrutiny. A genuine, well documented relocation completed well ahead of the sale is a different matter. Done wrong, this triggers an audit and back tax. If you have a sale on the horizon, our tax strategy consulting team runs the combined federal and California projection and the timing options, and the full Reed Corporation service catalog covers the return filing. Start at the new client inquiry page well before you sign a sale agreement.

Can I deduct my HSA contributions on my California return?

No, and this one catches almost everyone who moves to California or opens a Health Savings Account for the first time here. California is one of the few states that never conformed to the federal HSA rules. Federally your contribution is deductible and the account grows tax deferred. California treats the contribution as if it never happened and taxes the account earnings every year.

Here is how the non conformity plays out on the return. Federally, an HSA contribution made through payroll is excluded from your wages, and a contribution made on your own is deducted on the 1040. California allows neither. The amount your employer excluded from federal wages gets added back on Schedule CA (540), and a direct contribution you deducted federally is added back as well. On top of that, any interest, dividends, or capital gains earned inside the HSA are taxable to California in the year earned, even though no money has left the account. The adjustment is itemized in the 2025 Schedule CA (540) instructions.

This is the reason your two wage figures differ. Federal wages sit in box 1 of your W-2. California wages sit in box 16. When you fund an HSA through payroll, box 16 is usually higher than box 1 by exactly your HSA contribution, because California refused to exclude it. If you enter box 1 instead of box 16 on line 12 of Form 540, every line below it is wrong, so the HSA difference is a frequent source of mismatched returns.

Work the example. You contribute 4,300 dollars to an HSA through payroll in 2025, and the account earns 200 dollars of dividends inside it during the year. Federally, the 4,300 dollars is excluded from wages and the 200 dollars grows untaxed. For California, the 4,300 dollars is added back on Schedule CA, so it is taxed, and the 200 dollars of dividends is also reported as California taxable income even though you did not withdraw it. If your California marginal rate is 9.3 percent, the contribution add back alone costs roughly 400 dollars of California tax, and the earnings add a little more each year.

The common mistake, beyond entering the wrong W-2 box, is failing to track your California basis in the account. Because California taxed the contributions and the earnings going in, that money has already been taxed by the state. When you eventually take a qualified withdrawal, California does not tax the distribution, but you have to know your California basis to avoid being taxed a second time on growth. Keep a running record of every contribution and every year of in account earnings that California taxed, or you risk double taxation at withdrawal.

The state earnings reporting is the part people overlook most. Inside the HSA your interest, dividends, and realized capital gains pile up untaxed for federal purposes, but California wants its cut each year as they accrue. That means if your HSA holds invested funds rather than cash, you have to look through to the underlying interest, dividends, and capital gains the account earned and report them on your California return annually, much like you would for an ordinary taxable brokerage account. There is no 1099 issued for HSA earnings, so you pull the figures from your account statements. Skipping this understates California income, and the FTB can assess tax and interest on the omitted earnings later.

An edge case is moving between California and a conforming state. If you funded the HSA while living in a state that followed the federal rules and then moved to California, the basis tracking gets layered, because only the California period contributions and earnings were taxed by California. None of this makes an HSA a bad deal. The federal benefit is real and qualified medical withdrawals remain tax free at both levels. It just means the California reporting is more involved than people expect. The federal HSA rules are summarized in IRS Publication 969 on Health Savings Accounts, and the California standard deduction and adjustment figures are on the FTB deductions page. If you want your HSA basis tracked correctly year to year, our tax compliance team handles it, and you can start at the new client inquiry page.

Contact Us