The "25% rule" comes up often in repair-versus-replacement discussions. It is a rule of thumb, not a code requirement or a standard, and it is worth understanding precisely because it gets quoted as though it were one.
What people usually mean by it
The rule is generally stated as: if roughly a quarter or more of the roof is damaged, replacement tends to make more sense than repair. The reasoning is economic rather than technical. Past a certain proportion, the labour of repeated patching, the difficulty of matching aged material, and the remaining service life of the untouched sections stop favouring repair.
Where it gets confused with building code
Some jurisdictions have separate provisions about how much of a roof can be repaired or re-covered before the work is treated as a replacement and triggers current-code requirements. That is a real regulatory question, it varies by parish and municipality, and it is not the same thing as the informal 25% guideline. Confirm current requirements with the authority responsible for the property address rather than assuming the rule of thumb governs.
Why the percentage alone can mislead
Damage concentrated in one plane is a different problem from the same percentage scattered across every slope. The age of the surrounding material matters too: patching 20% of a roof near the end of its life buys less time than patching 30% of a young one. And matching becomes harder as material weathers, so a technically sound repair can still look obviously patched.
The more useful question
Rather than asking whether damage crosses a percentage threshold, ask what the repair is expected to buy in years, what it costs against replacement, and what condition the rest of the roof and deck are actually in. A written assessment that answers those three things is worth more than any rule of thumb.
