Ordinance and law: the coverage nobody opens
A property policy pays to put the property back the way it was. That sentence is the whole problem.
The way it was frequently does not comply with current code. The house was built in 1987, the code has been amended several times since, and the roof that came off was legal when it went on and would not be legal going back on today.
So who pays for the difference?
Two different arguments
It is worth separating two things that get muddled, because they are won in different ways.
"The code requires this and it was already there." Drip edge on a roof that had drip edge. You are claiming the cost of replacing existing damaged property, and the code reference is supporting evidence that the component is required rather than optional. This is ordinary scope, paid from the ordinary limit.
"The code requires this and it was not there." An ice barrier on a roof that never had one, because it was not required when the roof was installed. This is not replacing what was damaged. It is an upgrade the law now demands, and it comes from somewhere else.
Arguing the second as though it were the first is how it gets denied. The adjuster is correct that the policy covers pre-loss condition, and the pre-loss condition had no ice barrier.
Where the upgrade is covered
Most property policies include ordinance or law coverage, often as a percentage of the dwelling limit. Ten per cent is common, twenty five is not unusual, and on some policies it is an endorsement that was purchased separately or declined.
It is a separate limit for a separate purpose: the additional cost of complying with a building law when you repair or rebuild. It typically does not apply to undamaged portions of the building, and it does not turn the carrier into a renovation fund. It pays the delta that the code forces.
The reason it goes unused is mundane. It is a different bucket in the policy, the adjuster scoping your roof is thinking about the roof, and nobody opens the declarations page to check whether there is a limit sitting there unspent.
How to make the argument
Three facts, in order, and all three are needed.
What was there before. Photographs from before the tear-off, or the absence of a component documented in your inspection. This establishes pre-loss condition, which is the part people skip because it feels obvious.
What the code now requires. The section, the edition and the jurisdiction. Not "code requires it", which is unverifiable and therefore ignorable. The adopted edition where the property sits, because adoption varies by state and amendments vary by county.
The cost difference. Not the cost of the component. The difference between compliant and non-compliant, as a separate figure, because that difference is what the ordinance limit pays.
Then ask the specific question: does this policy carry ordinance or law coverage, and what is the remaining limit. Written down, as a question, early. A claim where that was asked in week one is in a different position from one where it comes up after the first payment.
What it does not do
It does not cover an upgrade nobody requires. A better shingle because you prefer it is not an ordinance claim.
It does not usually cover bringing undamaged parts of the house up to code. If the kitchen wiring is old and the loss was in the bathroom, the kitchen is generally not an ordinance claim.
And it cannot exceed its limit, which on a substantial rebuild in a jurisdiction with aggressive amendments is a real constraint rather than a theoretical one.
The honest caveat
Whether this applies at all depends entirely on the policy, the endorsement, the state and the adopted code where the property sits. Every one of those varies, and none of them is something an article can tell you.
What an article can tell you is to look. The coverage exists on most policies, the limit is frequently untouched, and the question "is there ordinance and law on this policy, and how much is left" takes one line to ask and is almost never asked.
This is not legal advice or a coverage opinion. Read the declarations page and the policy, and get advice on the ones that matter.