It borders on Bahia ( north ) , Goiás ( northwest ) , Mato Grosso do Sul ( far west ) , the states of São Paulo and Rio de Janeiro ( south ) and the state of Espírito Santo ( east ) .
Minas Gerais shares borders with Bahia and Goiás ( north ) , Mato Grosso do Sul ( far west ) , the states of São Paulo and Rio de Janeiro ( south ) and the state of Espírito Santo ( east ) .