This document discusses performance enhancement of a multilevel inverter using genetic algorithms. It presents an optimal solution for eliminating pre-specified harmonics from a stepped waveform generated by a multilevel inverter topology with equal DC sources. A genetic algorithm is proposed that reduces computational burden and allows for fast convergence in solving the non-linear equations involved. Simulation results show the genetic algorithm approach achieves significant improvement in harmonic profile compared to the conventional Newton-Raphson method.