It borders on Bahia ( north ) , Goiás ( west and 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 ) .