The invention relates to a method for producing a medicament containing tadalafil. In said method, tadalafil is mixed with suitable adjuvants and is heated to a temperature of about 100° C. to about 200° C., preferably about 150° C. to about 200° C., especially about 200° C.