During President Rousseff's visit she also, together with Löfven, participated in a business forum and met with representatives from the city of Stockholm.
The refugee crisis was also on the agenda for the meeting between Löfven and Rousseff.
"They have also been discussing Syria. Brazil is one of the few Latin American countries to take in a lot of Syrian refugees. They talked about their common responsibility for managing the Syria crisis," Swedish Radio's correspondent in Latin America Lotten Collin tells Radio Sweden.
Brazil's current economic recession has cast doubts on Brazil's deal with Swedish manufacturer Saab, which is set to produce 36 JAS Gripen fighter jets for the country.
Besides a grim economic outlook, the Latin American nation is facing a political crisis, with record-low support for the government among Brazilians and several corruption scandals.
"I met Dilma Rousseff yesterday and I was asking her if Brazil in the midst of this crisis has the possibility to pay for these planes and she said 'It's the minor problem for me right now. I have lots of bigger problems. And Brazil's economy is stable. Although it's in recession right now, it's not a long-term problem, so this is not a giant problem for Brazil,'" Collin says.