The protocol describes how porphyrin-based compensation beads for flow cytometry are prepared by the reaction of amine-functionalized polystyrene beads with the porphyrin TCPP and the amide coupling reagent EDC. A filtration procedure is used to reduce the particulate byproducts.