Rice, who met Sharif in Islamabad today, wrote on twitter that she conveyed Obama's invitation to him to visit the White House for a meeting in October.
"Conveyed @POTUS invitation to PM Sharif to visit the @WhiteHouse in October to continue discussions," she wrote.
Rice also said that she held "excellent roundtable" with "brave" Pakistani civil society activists.
"Inspired by their indispensable work for human rights & civil liberties," she said.
During her day-long visit, Rice held talks with the top Pakistani leadership including Prime Minister Sharif, her counterpart Sartaj Aziz and army chief Gen Raheel Sharif.