The present invention is related to field of allergic (hypersensitivity) diseases and provides a method for producing modified allergenic polypeptides for use in immunotherapies. In the method of the invention, said allergenic polypeptides are modified so that they are not capable to form transient dimers. The invention also provides modified β-lactoglobulins for use in immunotherapy of milk allergy.