What Is the Depreciable Life of a Shipping Container?

A shipping container used in a trade or business has a depreciable life of seven years under the federal Modified Accelerated Cost Recovery System (MACRS). That figure has nothing to do with how long the container physically lasts, which can easily exceed 25 years. It is a cost-recovery schedule set by the IRS that fixes how quickly you can deduct the purchase price against taxable income. In most cases you will not actually stretch the deduction across those seven years, because bonus depreciation or Section 179 lets you write off the entire cost the year you place the container in service.

Why Seven Years

MACRS is the required depreciation system for most tangible business property placed in service after 1986. Shipping containers used in transportation or logistics fall under Asset Class 00.27, which covers trailers and trailer-mounted containers.1Office of the Law Revision Counsel. 26 USC 168 – Accelerated Cost Recovery System Under the General Depreciation System, that class carries a seven-year recovery period.2Internal Revenue Service. Publication 946 (2025), How To Depreciate Property

Because of the conventions applied to the first and last years of service, the deductions actually spread across eight calendar years. The seven-year label refers to the equivalent of seven full years of depreciation, not seven tax returns.

This life assumes the container is functioning as transportation or portable-storage equipment. Attach it permanently to a foundation and convert it into an office, retail space, or dwelling, and the IRS treats it as a building with a much longer life. More on that below.

Writing Off the Full Cost in Year One With Bonus Depreciation

The fastest option is bonus depreciation. The One, Big, Beautiful Bill Act permanently restored the 100% first-year depreciation deduction for qualified property acquired after January 19, 2025.3Internal Revenue Service. Treasury, IRS Issue Guidance on the Additional First Year Depreciation Deduction Amended as Part of the One, Big, Beautiful Bill That replaced the earlier phasedown that had been dropping the bonus percentage 20 points a year since 2023.

For a container acquired and placed in service after January 19, 2025, you can deduct 100% of the cost immediately. Bonus depreciation has no dollar cap and no taxable-income limitation. It applies to both new and used containers, provided the used container was not previously used by you or a related party.

Bonus depreciation is automatic. Place a qualifying container in service and do nothing, and the IRS assumes you are claiming 100%. To spread the cost over the seven-year MACRS schedule instead, you have to affirmatively elect out on a class-by-class, year-by-year basis, and that election is irrevocable without IRS consent.1Office of the Law Revision Counsel. 26 USC 168 – Accelerated Cost Recovery System

Section 179 as an Alternative

Section 179 offers a separate first-year writeoff. You can elect to expense the full cost of the container in the year it is placed in service, up to an annual dollar cap.4Office of the Law Revision Counsel. 26 USC 179 – Election to Expense Certain Depreciable Business Assets For tax years beginning in 2026, the limit is $2,560,000, and the deduction starts phasing out dollar-for-dollar once total Section 179 property placed in service during the year exceeds $4,090,000. Once total purchases reach $6,650,000, no Section 179 deduction is available.

Section 179 also caps your deduction at your taxable income from active trades or businesses. If the business shows a net loss, Section 179 cannot create or increase that loss; any unused amount carries forward. That income limitation is the main practical difference from bonus depreciation, which has no such restriction.

For most container purchases the two methods produce the same result: a full first-year deduction. Section 179 matters more when the income limitation bites, when you want to expense some assets selectively, or when your state treats the two methods differently.

What Happens If You Depreciate Over the Full Schedule

If you elect out of bonus and skip Section 179, the cost follows the standard MACRS rules. Seven-year property uses the 200% declining balance method, which front-loads deductions into the earlier years. The calculation automatically switches to straight-line in the first year that straight-line gives a larger deduction, so the full cost is recovered by the end of the period.1Office of the Law Revision Counsel. 26 USC 168 – Accelerated Cost Recovery System

The first- and last-year deductions are set by a convention. The default is the half-year convention, which treats every asset as placed in service at the midpoint of the tax year: half a year’s depreciation in year one, full deductions in years two through seven, and the remaining half-year in year eight.2Internal Revenue Service. Publication 946 (2025), How To Depreciate Property

The mid-quarter convention kicks in when more than 40% of your total depreciable property for the year is placed in service during the last three months.2Internal Revenue Service. Publication 946 (2025), How To Depreciate Property Depreciation for each asset is then based on the midpoint of the quarter it entered service. A container placed in service in October gets only about 1.5 months of first-year depreciation instead of six.

The percentages themselves come from fixed tables in Publication 946. For a $10,000 container under the half-year convention, the first-year deduction is roughly $1,429, rising in years two and three before tapering. The tables apply to any seven-year asset regardless of cost.

When ADS Forces a 12-Year Life

The Alternative Depreciation System uses straight-line depreciation over a longer recovery period. For shipping containers, ADS stretches the life to 12 years.2Internal Revenue Service. Publication 946 (2025), How To Depreciate Property

ADS is mandatory in certain situations, and the one that matters most for containers is use predominantly outside the United States.2Internal Revenue Service. Publication 946 (2025), How To Depreciate Property Intermodal containers routinely cross borders, and if a container spends more than half its service time outside the country, ADS applies. The IRS has held that taxpayers who cannot document domestic use must depreciate their containers under ADS. Property financed with tax-exempt bonds is also on ADS. Some taxpayers elect it voluntarily to smooth deductions across years or to avoid alternative minimum tax adjustments.

When a Container Is Not Seven-Year Property at All

The seven-year life applies only while the container functions as transportation equipment or portable storage. Permanently affix it to a foundation and adapt it to a new use, and the IRS reclassifies it as real property with a much longer depreciation life.

  • A container converted into an apartment, rental cabin, or other dwelling unit depreciates over 27.5 years using straight-line and a mid-month convention.5Internal Revenue Service. Depreciation and Recapture 4
  • A container turned into a permanent office, shop, or warehouse depreciates over 39 years under GDS, or 40 years under ADS.2Internal Revenue Service. Publication 946 (2025), How To Depreciate Property

Reclassification also strips away the accelerated methods. Real property generally does not qualify for bonus depreciation or Section 179, so converting a seven-year personal property asset into a 27.5- or 39-year building dramatically slows cost recovery.

Where the line falls depends on the facts. A container sitting on blocks at a construction site and moved every few months is still personal property. A container welded to a steel frame on a poured foundation with plumbing and electrical hookups is a building. In between, the deciding factors are how permanently it is attached and whether it has been adapted to a use inconsistent with its original function as transportation equipment.

The Catch: Recapture When You Sell

Fast writeoffs come with a tail. Shipping containers are Section 1245 property, which means every dollar of gain on sale up to the total depreciation you claimed is taxed as ordinary income rather than at capital gains rates.6Office of the Law Revision Counsel. 26 USC 1245 – Gain From Dispositions of Certain Depreciable Property

Say you paid $5,000 for a container, claimed the entire cost through bonus depreciation, and now have a $0 adjusted basis. Sell it for $3,000 and the full $3,000 is ordinary income taxed at your marginal rate. That result is the same whether the depreciation came from MACRS, Section 179, or bonus depreciation.6Office of the Law Revision Counsel. 26 USC 1245 – Gain From Dispositions of Certain Depreciable Property Only gain above the original purchase price is treated as capital gain. Containers rarely appreciate above cost, so in practice most sellers face pure ordinary income recapture on whatever they collect.

State Rules Often Differ

Federal depreciation does not automatically carry to your state return. About two-thirds of states have historically decoupled from federal bonus depreciation. In a decoupled state you generally add back the federal bonus deduction and depreciate the container over a multi-year schedule, sometimes matching MACRS and sometimes following the state’s own timetable. A business claiming 100% bonus depreciation federally may owe state tax as though the container were being written off over seven years. Section 179 conformity varies too, with some states capping the deduction below the federal limit. Confirm your state’s current conformity rules before assuming federal and state deductions will match.

Where to Report It

Depreciation on a shipping container is reported on Form 4562. Section 179 goes in Part I, bonus depreciation in Part II, and standard MACRS in Part III.7Internal Revenue Service. Instructions for Form 4562 File Form 4562 in the first year the container is placed in service, and in any later year you claim Section 179 or first-year bonus on other assets. Keep records of the purchase date, placed-in-service date, cost, and the method and convention elected. If you later switch a container from transportation use to a permanent structure, document the conversion date and the facts supporting the reclassification; the IRS can challenge a depreciation deduction years after it was claimed.