The invention provides a method for the preparation of substantially amorphous telmisartan comprising a) preparing an aqueous solution comprising telmisartan and at least one basic agent and b) spray-drying said aqueous solution to obtain a spray-dried granulate.