Questions & Answers about Мне сегодня не спалось из‑за шума в коридоре.
Because не спалось is an impersonal construction: it doesn’t grammatically say I didn’t sleep, but rather it wasn’t sleeping (for me) / sleep wouldn’t come to me. With impersonal “state” verbs in Russian, the person experiencing the state is often in the dative: мне, тебе, ему….
It’s the past form of the impersonal reflexive pattern (не) спится → (не) спалось.
- Present: мне (не) спится = I (can’t) sleep / I feel (un)able to sleep
- Past: мне (не) спалось = I couldn’t sleep / sleep wouldn’t come
It’s related to спать, but it’s not the regular personal past (я спал/спала).
Impersonal past-tense forms in Russian typically appear as neuter singular: было, стало, хотелось, спалось. There is no grammatical subject, so Russian defaults to neuter singular in the past.