Flávio Bolsonaro leads Lula after securing about 47 per cent of the first-round vote.
Brazil will hold a presidential runoff between Bolsonaro and Lula on 25 October.
The Bolsonaro camp also made gains in Congress, strengthening the right ahead of the runoff.