Yes—for U.S. federal income tax purposes, capital gains are generally included in taxable income, but the rate applied to net capital gain is often lower than ordinary-income rates and the amount that counts can be reduced by capital losses and exclusions. The question contains a real ambiguity worth clearing up first: "taxable income," "gross income," and "taxed at ordinary rates" are three different things, and capital gains interact with all three differently.

What "Taxable Income" Actually Means

On a U.S. federal return, taxable income is not the same as total receipts. For an individual, it is generally adjusted gross income minus the standard deduction or itemized deductions (and, where allowed, the qualified business income deduction). Capital gains enter adjusted gross income through the capital gain line, so a realized gain normally increases taxable income dollar for dollar before any special rate is applied.

That distinction matters because people often say a gain is "not taxed" when what they mean is that it is taxed at 0%. Under the preferential rate structure, a long-term capital gain can fall in the 0% bracket and still be part of taxable income. It was reported, it was included in the taxable-income computation, and it may still affect other tax outcomes even when the rate on the gain itself is zero.

There is also a narrower technical term: "net capital gain" is the excess of net long-term capital gain over net short-term capital loss. That figure is what receives the preferential maximum rates. Short-term capital gains—generally gains on assets held one year or less—are not net capital gain and are taxed at ordinary rates.

Which Gains Count, and When

Capital gains arise when a capital asset is sold or otherwise disposed of for more than its adjusted basis. Common examples include publicly traded stock, mutual fund shares, bonds held as investments, and real property held for investment or personal use (with special rules for a principal residence). Not every receipt is a capital gain: ordinary income from wages, interest, rents in an active trade or business, and inventory sales is treated differently. A gain on property held mainly for sale to customers in a business is ordinary income, not capital gain—the same asset type can land in different categories depending on use.

Realization is the trigger. An unrealized gain—a stock that has risen but has not been sold—is not included in taxable income. A realized gain is generally recognized unless a specific provision defers it, such as certain like-kind exchanges for real property held for investment or business use, or designated nonrecognition transactions. Those are exceptions with their own conditions, not a general rule that gains can be postponed at will.

Holding period is the pivot for rate treatment. For most capital assets, more than one year of holding produces long-term treatment; one year or less produces short-term treatment. The measurement can be counterintuitive for gifts and inherited property, and special holding-period rules exist for certain assets, so the general one-year line is a starting point rather than a universal rule.

How Gains Are Taxed: The Rate Layering

Long-term capital gains and qualified dividends are stacked on top of ordinary income for rate purposes. Under the federal structure in effect for recent years, the long-term capital gains rate is 0%, 15%, or 20% depending on taxable income and filing status, and the brackets are adjusted for inflation. The gain is added after ordinary income, so part of a large gain can be taxed at 0%, part at 15%, and part at 20%. A simple illustration with hypothetical round numbers shows the mechanism: if a single filer has $40,000 of ordinary taxable income and a $30,000 long-term gain, the gain fills the next $30,000 of the rate schedule rather than being taxed at a single flat rate. The actual dollar thresholds change with inflation and filing status, so exact figures must be checked for the year in question.

Three additional federal layers can apply:

Net investment income tax. A 3.8% surtax generally applies to the lesser of net investment income or the amount of modified adjusted gross income above certain thresholds ($200,000 single, $250,000 married filing jointly, $125,000 married filing separately, under the rules as they have stood since 2013). Capital gains are net investment income for this purpose. Alternative minimum tax. Capital gains are included in alternative minimum taxable income, though the preferential rates generally continue to apply to net capital gain in that computation. State taxes. Most states with an income tax include capital gains in income, but treatment varies widely. Some tax all gains as ordinary income; some offer preferential rates or exclusions for certain gains; a few have no income tax at all. This is the single largest source of confusion when people compare experiences across state lines.

Losses, Exclusions, and the Limits on "Counting"

Capital losses offset capital gains, and if losses exceed gains, up to $3,000 of net capital loss ($1,500 for married filing separately) can be deducted against ordinary income per year, with the remainder carried forward. This is a genuine reduction in taxable income, not merely a rate adjustment. The wash-sale rule disallows a loss on a security if a substantially identical security is bought within 30 days before or after the sale, which is why loss-harvesting strategies require care.

Certain gains are excluded or deferred rather than included:

Principal residence. Under the Section 121 exclusion, up to $250,000 of gain ($500,000 for qualifying joint filers) on a main home may be excluded if ownership and use tests are met. Amounts above the exclusion are taxable, and the exclusion cannot be used more often than every two years in the ordinary case. Qualified small business stock. Section 1202 can allow exclusion of a portion of gain on qualified small business stock held more than five years, subject to detailed eligibility rules and caps. Opportunity zone investments. Eligible gains invested in a qualified opportunity fund can receive deferral and, for longer holdings, partial or full exclusion of post-investment appreciation, under rules that have been modified over time. Inherited property. Heirs generally receive a basis step-up (or step-down) to fair market value at the date of death, meaning appreciation during the decedent's life is typically never taxed as income to the heir. This is a basis rule, not an exclusion reported on the return. Charitable giving. Donating appreciated long-term property to a qualifying charity generally avoids recognizing the gain while allowing a deduction for fair market value, subject to limits and substantiation rules.

Each of these has conditions and phase-outs that can defeat a casual reading. The residence exclusion, for instance, prorates in some circumstances and is unavailable in others; the small business stock rules turn on the issuer's gross assets, the stock's acquisition date, and the nature of the business.

Where the Confusion Comes From

The most common misunderstanding is equating "taxable income" with "income taxed at ordinary rates." A retiree living largely on long-term gains and qualified dividends may have substantial taxable income and pay little or no federal income tax on the gain portion—yet the gain still counts for determining whether Social Security benefits are taxable, whether certain credits phase out, and whether the net investment income tax threshold is crossed. A zero rate is not the same as exclusion.

A second confusion is the difference between recognizing and receiving. Selling an asset triggers a gain even if the proceeds are immediately reinvested; there is no general rollover for securities. Conversely, borrowing against appreciated stock does not realize gain, which is why "buy, borrow, die" strategies are discussed—they rely on realization rules and basis step-up, not on gains being outside taxable income.

A third is jurisdiction. The question does not specify a country, and the answer above is U.S. federal law. Other countries use different terms and structures: the United Kingdom, for example, has a separate capital gains tax with its own annual exempt amount and rates, and Canada has historically included only a fraction of capital gains in income (with the inclusion rate having been subject to proposed changes). A reader in another jurisdiction should not map the U.S. rate layering onto local rules. Even within the United States, the answer stops applying at the state level, where conformity to federal treatment is uneven.

Practical Boundaries

The federal rate brackets, the net investment income tax thresholds, and the $3,000 loss limit reflect rules that have been stable for several years but are set by statute and can change. Figures should be confirmed for the tax year at issue. Short-term versus long-term classification, basis, and holding period are factual determinations that depend on records; a general statement cannot resolve a specific lot or gift. Estimated tax and withholding rules can require payments on gains during the year, independent of the rate that ultimately applies. The question does not identify the taxpayer's filing status, income level, state, asset type, or holding period, so no specific tax figure can be responsibly computed here.

In short: capital gains are part of taxable income in the ordinary sense of that term, and they are reported and included in the computation. What varies is the rate, the effect of losses and exclusions, and the interaction with other provisions—not whether the gain counts at all in the general case.