How are capital gains from cryptocurrency taxed in the U.S.?

In the U.S., cryptocurrency is taxed as property. Gains from selling, exchanging, or spending are subject to capital gains tax, while losses are deductible. The tax rate depends on whether the gain is short-term (ordinary income rates) or long-term (preferential rates) based on the holding period.