The invention discloses a front cabin steel-frame structure of an electric vehicle and a front cabin. The front cabin steel-frame structure of the electric vehicle consists of main components: a front cabin left longitudinal beam, a front cabin right longitudinal beam, a transverse connecting beam framework and the like. Moreover, the front cabin steel-frame structure and a subframe are combined to further form upper and lower layer structures of the front cabin of the electric vehicle. An upper layer structure is used for installing various modules: a motor controller, a high and low voltage converter, a direct current-alternating current converter, a charger and the like, and thus, the condition that the modules are arranged in front of or at the rear of a power assembly is avoided, and therefore, an energy absorption space when forward collision of the vehicle occurs is increased, and the safety performance of the vehicle is improved. A lower layer structure is used for installing a motor and a gearbox, and therefore, the danger that the strength is excessively low due to the fact that a suspension device of the power assembly has to be installed on the longitudinal beams to form a cantilever beam structure is avoided, and a flexible space is provided to the arrangement position of the suspension device.