Last Updated: July 26, 2026 Reading Time: 7 min
Tax-free BAH is one of the best deals in military compensation, and it has a cost almost nobody prices in: because housing and food allowances are never FICA-taxed, they never enter your Social Security earnings record. A service member on r/MilitaryFinance put it best after 20+ years: "this is something I never thought about until now, when I'm almost to the age to collect Social Security." FedTools ran the numbers on what those invisible earnings actually do to a retirement check.
What Counts and What Doesn't
Your Social Security benefit is computed from your lifetime FICA-taxed earnings. For service members, the split looks like this:
| Pay type | FICA-taxed? | Posts to your SS record? |
|---|---|---|
| Basic pay | Yes | Yes |
| BAH | No | No |
| BAS | No | No |
| Hostile fire / imminent danger pay | Yes | Yes |
| Flight and other incentive pays | Yes | Yes |
| Enlistment / reenlistment bonuses | Yes | Yes |
| CONUS COLA | Yes | Yes |
| OCONUS COLA, OHA, DLA, per diem | No | No |
Source: IRS Publication 3 and DFAS. Two rules surprise people. First, combat zone base pay still earns Social Security credit, because the Combat Zone Tax Exclusion is an income-tax exclusion, not a FICA exclusion. Second, the special "deemed wage credits" that used to pad military earnings records (up to $1,200 a year) ended for service after 2001. If you're serving now, there's no offset.
The Invisible Earnings: 20-Year Careers Modeled
FedTools' 2026 analysis models two typical careers using the 2026 pay tables, a mid-range with-dependents BAH of $2,100/month enlisted and $2,800/month officer, and 2026 BAS rates ($476.95 enlisted, $328.48 officer). These are planning estimates, not DoD averages; your BAH depends on your duty stations (look up your rate at travel.dod.mil).
E-7 retiring at 20 years:
| Career point | Cumulative base pay (SS-covered) | Cumulative BAH+BAS (invisible) |
|---|---|---|
| 5 years | ~$220,000 | ~$154,600 |
| 10 years | ~$527,000 | ~$309,200 |
| 15 years | ~$869,000 | ~$463,900 |
| 20 years | ~$1,254,000 | ~$618,500 |
O-4 retiring at 20 years:
| Career point | Cumulative base pay (SS-covered) | Cumulative BAH+BAS (invisible) |
|---|---|---|
| 5 years | ~$295,000 | ~$187,700 |
| 10 years | ~$873,000 | ~$375,400 |
| 15 years | ~$1,480,000 | ~$563,100 |
| 20 years | ~$2,090,000 | ~$750,800 |
For the E-7, roughly a third of every dollar earned in uniform never existed as far as Social Security is concerned. For the O-4, about 26%.
What That Does to the Monthly Check
Social Security converts your best 35 years of covered earnings into a benefit through the AIME/PIA formula (2026 bend points: $1,286 and $7,749). Compare the modeled E-7 against a civilian earning the same total cash compensation, all of it FICA-taxed:
| E-7 | Same-pay civilian | |
|---|---|---|
| Total monthly compensation | $8,277 | $8,277 |
| Monthly SS-covered earnings | $5,700 | $8,277 |
| PIA contribution from these 20 years | ~$1,791/mo | ~$2,270/mo |
| Gap at full retirement age (67) | ~$479/mo | |
| Gap claiming at 62 | ~$335/mo | |
| Gap claiming at 70 | ~$594/mo | |
| Lifetime gap, 67 to 85 (18 years, claiming at FRA) | ~$103,000 |
The AIME figures use a career-average monthly base pay ($5,700 for the E-7), not the year-by-year table, so the two tables are separate models rather than one continuous calculation. The O-4 gap is smaller despite higher pay, about $391/month at FRA (~$84,500 over 67 to 85), because more officer earnings fall in the 32% tier of the benefit formula, where each covered dollar buys less benefit.
One important softener: most 20-year retirees are 38 to 43 years old and work civilian careers afterward. Those FICA-taxed years raise your final benefit. But the military years' contribution is permanently smaller than it looks on your LES, and the gap is baked in.
What to Actually Do About It
Don't wish the allowances were taxed. The income tax and FICA savings on BAH/BAS during your career are usually worth more than the future benefit you give up. The deal is still good. It just has a line item most people never see.
Do plan around three moves:
- Check your earnings record. Log into ssa.gov/myaccount and look at your military years. If they look shockingly low compared to what you remember earning, this article is why. Verify base pay posted correctly.
- Expect a lower SS estimate and fill it deliberately. The Roth TSP is the classic counterweight: allowance-heavy compensation means a low effective tax rate, which is exactly when Roth contributions are cheapest. Our BRS vs High-3 calculator models the retirement stack.
- Price the second career for it. Your post-service civilian salary is fully FICA-covered and replaces zeros or low years in your top-35. A military-to-GS move with 20+ civilian years substantially closes the gap.
Run your current pay split with the Military Pay Calculator to see exactly how much of your compensation is SS-covered versus invisible.
Frequently Asked Questions
Does BAH count toward Social Security?
No. BAH and BAS are excluded from FICA under 26 U.S.C. 134 and never post to your earnings record.
Do combat zone months earn SS credit?
Yes. CZTE is income-tax-only; FICA still applies to base pay, and the credit posts normally.
What about the old military wage credits?
Deemed wage credits ended for service after 2001. Today's service members get no offset for untaxed allowances.
How big is the gap really?
In our 2026 model: ~$479/month at 67 for a 20-year E-7 versus a same-compensation civilian, ~$391 for an O-4. Your number depends on duty stations, career pattern, and civilian earnings after service.
Is tax-free BAH still worth it?
Almost always yes. The immediate savings beat the discounted future loss. Take the deal, and plan for the smaller check.
Related Resources
- Military Pay Calculator: See your covered vs. uncovered pay split.
- BRS vs High-3 Calculator: Model your full retirement stack.
- Military Rank to GS Salary: Price the second career.
- The 2026 BAH Change That Caught Service Members Off Guard: This year's BAH mechanics.