Provided is a pharmaceutical composition containing pemafibrate, a salt thereof or a solvate thereof and having excellent homogeneity. The pharmaceutical composition contains pemafibrate, a salt thereof or a solvate thereof in an amount of 0.017 to 4.2 mass % in terms of a free form of pemafibrate with respect to the total mass of the pharmaceutical composition.