The maximum level for buildings and troops varies depending on the specific building or troop. Generally, the maximum level for most buildings and troops is level 14.