Hjalmar Fredrik Elgérus Bergman (November 19, 1883 - January 1, 1931) was a Swedish writer and playwright.
The son of a banker, Bergman studied at Uppsala University. He married the daughter of actor and producer August Lindberg.
Most of his output takes place in a small town in mid-Sweden, which is growing into a parallel universe in a Balzacian manner. The shameful secrets of dozen of interwoven families gradually come out of the closet as the stories grow increasingly symbolic. A pessimistic outlook is always counter-balanced by a grotesque humour - indeed in a book like Markurells i Wadköping the latter almost succeeds in completely shading the former.
After an unsuccessful bout as a manus writer in Hollywood Bergman's alcoholism took over, from which he died prematurely.