His mother was Imperial Princess Yasuko, who was the legitimate older sister of Emperor Murakami, and as a young child he was raised in the Imperial Palace, since his mother died shortly after his birth.
村上天皇の同母姉康子内親王を母として生まれ、生後まもなく母が亡くなったことから幼少時は宮中で育てられた。