as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
can you step up your cost basis indefinitely via the 0% capital gains rate?
user
as joetaxpayer illustrated, yes you can.  however, one thing to remember is that unless you live in a state with no state income tax, there may be state tax to pay on those gains.  even so, it's likely a good idea if you expect either your income (or the federal capital gains tax rate) to rise in the future.
assistant