State governments take a cut of "capital gains". The Federal government does as well, except for a few escape clauses.
You have a particular state in mind? One that takes a cut of home sale profits under $500,000 for a married couple?