Yes, you can leave Beijing Capital (PEK) or Beijing Daxing (PKX) airports during transit, provided you qualify for the 24, 72, or 144-hour visa-free transit programs. As of 2026, China has expanded these programs for travelers from over 50 countries (including the U.S., UK, Canada, and much of the EU). To qualify, you must have a confirmed onward ticket to a third country (e.g., London to Beijing to Tokyo). When you land, you head to the dedicated "24/144-hour Transit" counter before immigration to apply for a temporary entry permit. This permit allows you to leave the airport, stay in a hotel, and explore the city. It is important to note that you must stay within the administrative area of Beijing (and sometimes Tianjin/Hebei) and cannot travel to other parts of China. For shorter layovers, some people also use the 24-hour stay-on-board rule, but the 144-hour permit is the most popular for those who want to see the Great Wall or the Forbidden City during a long stopover.