Lipids in wastewaters are potential raw material for renewable diesel, but may complicate biological treatment of wastewaters. The lipid composition of palm oil mill effluent (POME), chemithermomechanical pulp mill (CTMP) wastewater and municipal wastewater (MWW) was studied with a combination of thin-layer chromatography and nuclear magnetic resonance. Gravimetrically determined content of extracted lipids from the solids of POME and CTMP wastewater were 8.4 ± 1.2 g/L (19.6 ± 0.8% of dry weight) and 0.17–0.23 g/L (12.4–18.5%), respectively, while MWW contained 0.021 ± 0.002 g/L (9.3 ± 1.4%) of lipids. All lipid extracts contained mono-, di- and triacylglycerols (TAGs) and free fatty acids (FFAs). In POME, lipids were mostly TAGs (11.5 ± 0.2 μmol/10 mg of lipid extract). In CTMP and MWW lipid composition was more diverse than in POME containing also sterol derivatives and fatty acid methyl esters and the main lipids were FFAs.