N-substituted carbamoyloxyalkyl-azolium derivatives of general formula (I), wherein Q, Y, R<;1>;, R<;2>;, R<;3>;, Y and X<;->; are as defined in the claims and the description as well as salts, hydrates or solvates thereof. The compounds of the present invention have antifungal activity and are useful for the treatment of fungal diseases.