Three dihydrate forms B, C and D and a monohydrate form E of methylthloninium chloride (methylene blue) are described. Forms B, C, D and E can be prepared under controlled humidity and temperature from methylthioninium chloride with higher water content or conversion of a hydrate. The hydrates can be incorporated in pharmaceutical compositions.