Yes, tankless water heaters need to be flushed regularly to remove mineral buildup and sediment that can accumulate inside the unit. Flushing involves running a solution of vinegar or another descaling agent through the unit to dissolve buildup. It's recommended to flush at least once a year to maintain optimal performance and extend the unit's lifespan.