Abstract:Beijing in the Ming and Qing dynasties was rebuilt and developed on the basis of the "grand capital" of the Yuan Dynasty. The old city of Beijing was divided into the inner city and the outer city. The inner city had nine gates, the outer city had seven gates, and the imperial city had four gates. This paper introduces in detail the geographical location, architectural form and historical renovation of the inner and outer gates.