"The agreement marks another watershed step toward social networking safety, protecting kids from online predators and inappropriate content," said Connecticut Attorney General Richard Blumenthal, who announced the agreement Thursday with his counterparts in several other states.
Officials from Washington, D.C., and 49 states have signed on.
Facebook, which has more than 70 million active users worldwide, already has enacted many of the changes and others are in the works, its officials said Thursday.
"Building a safe and trusted online experience has been part of Facebook from its outset," said Chris Kelly, Facebook's chief privacy officer. "The attorneys general have shown great leadership in helping to address the critical issue of Internet safety, and we commend them for continuing to set high standards for all players in the online arena."
Texas has not endorsed this agreement or a similar one reached in January among the other states, the District of Columbia and MySpace. Texas officials have said they want faster action on verifying users' ages and identities.
The attorneys general have been negotiating for months for tighter controls with Palo Alto, Calif.-based Facebook and MySpace, the world's largest online social network with 200 million users around the world.
"Social networks that encourage kids to come to their sites have a responsibility to keep those kids safe," North Carolina Attorney General Roy Cooper said. "We've now gotten the two largest social networking sites to agree to take significant steps to protect children from predators and pornography."
MySpace, Facebook and other online networks have created a new venue for sexual predators, who often lie about their age to lure young victims to chat, share images and sometimes meet in person. It also has spawned cyberbullies, who have sent threatening and anonymous messages to classmates, acquaintances and other users.
Among other changes, Facebook has agreed to:
The protections included in the MySpace and Facebook pacts could be expanded to smaller services such as Friendster and Bebo, Blumenthal said.
"We're entering a new era in social networking safety," Blumenthal said. "This agreement is open-ended in envisioning advances in technology that will permit even stronger steps in the future toward protecting kids' safety."