A multilevel inverter is an electrical device that converts a DC voltage into a higher AC voltage by generating a stepped waveform with several voltage levels. Unlike traditional inverters that produce a square wave or a pulse-width modulated (PWM) waveform with only two voltage levels, multilevel inverters can generate waveforms with three or more levels, resulting in reduced harmonic distortion, improved efficiency, and decreased electromagnetic interference. The design and control of multilevel inverters are active research areas that aim to enhance their performance, reliability, and scalability. In this research, a 31-level asymmetric cascaded multilevel inverter is suggested. The proposed multilevel inverter (MLI) system employs four photovoltaic cells as dc sources with structure of (1:2:4:8) Vdc. The system is modeled by MATLAB/Simulink and total harmonic distortion (THD) values of the output voltage and current are 1.106% for resistive load, and 1.35% and 0.403% for inductive load. These outcomes demonstrate the recommended circuit's efficacy and demonstrate its suitability for medium- and high-power applications.