No, you generally do not go through customs during a layover if your journey stays within the same country. For example, if you fly from London to Edinburgh with a stop in Manchester, you are on a domestic-to-domestic route and stay within the "sterile" area of the terminal. In the United States, if you fly from Los Angeles to New York with a stop in Chicago, you simply walk from one gate to the next. However, there is a major exception for international arrivals: if you are flying from London to Los Angeles with a layover in New York (JFK), you must clear Customs and Immigration at your first point of entry (JFK). You have to collect your checked bags, walk through customs, and then re-check them for the domestic leg to LA. This is a common "traveler trap" that requires a layover of at least 2–3 hours. In 2026, once you have cleared that first checkpoint, you are "domestically cleared" and won't see customs again at your final destination.