Brazil defender David Luiz bundled the ball over the line in the 18th minute after Neymar's corner was flicked on by Thiago Silva, though replays suggested the final touch may have come off Chile defender Gonzalo Jara.
Chile equalised after 32 minutes when Alexis Sanchez took advantage of a sloppy pass from Hulk to place a low angled shot past Brazil goalkeeper Julio Cesar.
Image: Alexis Sanchez celebrates after scoring
Photograph: Ian Walton/Getty Images
Hosts Brazil aim to seal top spot against Cameroon
PHOTOS: Neymar powers Brazil into World Cup last 16
FIFA red-faced after suggesting Brazil goal was off-side
'Forget history, we're coming for you', Chile tell Brazil
Chile prove too hot for Australia