Hot-iron branding uses thermal injury to permanently identify cattle causing painful tissue damage. The primary objective was to examine the physiological and behavioral effects of oral meloxicam (MEL), compared to a control, administered at the time of hot-iron branding in Angus and Hereford steers and heifers. The secondary objectives were to investigate breed and sex effects on pain biomarkers. A total of 70 yearlings, consisting of 35 heifers and 35 steers (Angus, Hereford, or Angus × Hereford), were enrolled in the study. Animals were blocked by sex, randomized across weight, and assigned to receive MEL (1 mg/kg) or a placebo (CON). Biomarkers were assessed for 48 h after branding and included infrared thermography (IRT), mechanical nociceptive threshold (MNT), accelerometry and a visual analog scale (VAS), and serum cortisol and prostaglandin E2 metabolites (PGEM). Wound healing was assessed for 12 wk. Hair samples to quantify cortisol levels were taken prior to and 30 d post-branding. Responses were analyzed using repeated measures with calf nested in treatment as a random effect, and treatment, time, treatment by time interaction, breed, and sex as fixed effects. There was a treatment by time interaction for PGEM (P < 0.01) with MEL having lower values than CON at 6, 24, and 48 h (MEL: 18.34 ± 3.52, 19.61 ± 3.48, and 22.24 ± 3.48 pg/mL, respectively; CON: 32.57 ± 3.58, 37.00 ± 3.52, and 33.07 ± 3.48 pg/mL; P < 0.01). MEL showed less of a difference in maximum IRT values between the branded (2.27 ± 0.29 °C) and control site (3.15 ± 0.29 °C; P < 0.01). MEL took fewer lying bouts at 0–12 h (4.91 bouts ± 0.56) compared with CON (6.87 bouts ± 0.55; P < 0.01). Compared with Hereford calves, Angus calves exhibited greater serum but lower hair cortisol, greater PGEM, more lying bouts, and less healed wound scores at 3, 4, and 5 wk. Compared with heifers, steers exhibited lower PGEM, lower branding site and ocular IRT, higher MNT, and lower plasma meloxicam levels. Steers spent more time lying, took more lying bouts and had greater VAS pain, and more healed wound scores at 5 wk than heifers. Meloxicam administration at branding reduced branding and control site temperature differences and reduced lying bouts for the first 12 h. Breed and sex effects were observed across many biomarkers. Changes from baseline values for IRT, MNT, lying time, step count, VAS pain, and wound scoring all support that branding cattle is painful.