Thursday's ruling overturned a decision by a lower court in Berlin, which had ruled that German privacy laws outweighed parental rights.
The parents sued for access to their daughter's Facebook account after the 15-year-old died after being hit by a subway train in Berlin in 2012. They're trying to determine if it was an accident or if she took her own life.
The German news agency dpa reported that Facebook had not wanted to let the parents access their dead daughter's account, citing privacy reasons as well.
Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.