Particular attention is devoted to pharmaceutical residues in sewage sludge caused by their potential ecotoxicological effects. Diclofenac, ibuprofen and carbamazepine, 17-α-ethinylestradiol, β-estradiol, were analysed in four types of fertilizers, based on sewage sludge commercial products, in compliance with Polish requirements. The release of active pharmaceutical compounds from fertilizers to water the phase after 24 h and 27 days was analysed. Solid-water partition coefficients (Kd) and partitioning coefficient values normalized on organic carbon content (log KOC) were evaluated. The environmental risk to terrestrial ecosystems, due to the application of fertilizers onto soils, was estimated. Cumulative mass of pharmaceuticals emitted to water from fertilizers ranged from 0.4 to 30.8 µg/kg after 24 h contact. The greatest amount of the material that was released, over 70%, was observed for carbamazepine. No presence of compounds except ibuprofen was observed after 27 days of testing. The highest environmental risk in fertilizers is due to carbamazepine, risk quotation, RQ = 0.93 and diclofenac RQ = 0.17. The values of risk quotation estimated for soil were below RQ = 0.01. This fact means that no risk to terrestrial ecosystems is expected to occur. The important decrease of the concentrations of active compounds after passing from sewage sludge to fertilizers [and] to fertilized soil could be observed.