This book is partly based on Coelho's experience in various mental institutions (see the biography Confessions of a Pilgrim by Juan Arias), and deals with the subject of madness.
Veronika is a young woman from Ljubljana, Slovenia, who appears to have a perfect life, but nevertheless decides to commit suicide by overdosing with sleeping pills.
Her plan fails and she wakes up from the coma in Villette, a mental hospital in Slovenia, where she is told she has only a few days to live due to heart condition caused by the overdose.
Her presence there affects all of the mental hospital's patients, especially Zedka, who has clinical depression; Mari, who has panic attacks; and Eduard, who has schizophrenia, and with whom Veronika falls in love.
In the meantime, Villette's head psychiatrist, Dr. Igor, attempts a fascinating but provocative experiment: can you "shock" someone into wanting to live by convincing her that death is imminent?