A linear array antenna design with desired radiation pattern has been presented based on genetic algorithm (GA) approach. Examples of cosecant and flat-topped beam patterns are illustrated to show the flexibility of GA to solve complex antenna synthesis problems by suitably selecting the fitness function, even with a simple GA. The results have been validated by IE3D electromagnetic simulation. The antenna arrays with different element geometries can also be implemented using the proposed technique. V V C 2008 Wiley Periodicals, Inc. Int J RF and Microwave CAE 18: 410-416, 2008.