Writers had a higher risk of anxiety and bipolar disorders, schizophrenia, unipolar depression, and substance abuse, the Swedish researchers at the Karolinska Institute found.
They were almost twice as likely as the general population to kill themselves.
The dancers and photographers were also more likely to have bipolar disorder.
As a group, those in the creative professions were no more likely to suffer from psychiatric disorders than other people.
But they were more likely to have a close relative with a disorder, including anorexia and, to some extent, autism, the Journal of Psychiatric Research reports.
Lead researcher Dr Simon Kyaga said the findings suggested disorders should be viewed in a new light and that certain traits might be beneficial or desirable.
For example, the restrictive and intense interests of someone with autism and the manic drive of a person with bipolar disorder might provide the necessary focus and determination for genius and creativity.
Similarly, the disordered thoughts associated with schizophrenia might spark the all-important originality element of a masterpiece.