The result came below expectations of a $2 billion surplus, according to the median forecast of 17 analysts surveyed by Reuters.
Brazil had a trade surplus of $2.359 billion in October of 2011.