Rules established by a local or state jurisdiction that cover how a house can be built or modified. Newly built homes must meet the most recent codes but existing homes are not required to be brought up-to-date before they are sold.