Surgical castration of male piglets is practiced to prevent boar taint in pork, but causes significant pain and is increasingly being replaced by more welfare-friendly approaches.
Surgical castration causes acute pain from the incision and chronic pain during wound healing - research shows behavioral indicators of pain persisting for days after the procedure. Performing castration without analgesics or local anaesthesia is increasingly viewed as ethically unjustifiable given the availability of alternatives. Immunocastration avoids surgical pain entirely while maintaining production benefits; entire male production avoids all interventions but requires taint detection systems at slaughter. Consumer willingness to accept mild boar taint in some products is also a relevant consideration - some markets (notably Germany) have moved substantially toward entire male production.