Writer's cramp, also called mogigraphia and scrivener's palsy, is a disorder caused by cramps or spasms of certain muscles of the hand and/or forearm, and presents itself while performing fine motor tasks, such as writing or playing an instrument. Writer's cramp is a task-specific focal dystonia of the hand. 'Focal' refers to the symptoms being limited to one location (the hand in this case), and 'task-specific' means that symptoms first occur only when the individual engages in a particular activity. Writer's cramp first affects an individual by interfering with their ability to write, especially for prolonged periods of time.

Although the cause of writer's cramp is not well known, it was historically believed to be the result of excessive fine motor activity, possibly complicated by a tense or otherwise inappropriate writing technique.

More Info: en.wikipedia.org