We attempt to explain recent anomalies in semileptonic B decays at LHCb via a composite Higgs model, in which both the Higgs and an SU(2) L -triplet leptoquark arise as pseudo-Goldstone bosons of the strong dynamics. Fermion masses are assumed to be generated via the mechanism of partial compositeness, which largely determines the leptoquark couplings and implies non-universal lepton interactions. The latter are needed to accommodate tensions in the b → sμμ dataset and to be consistent with a discrepancy measured at LHCb in the ratio of B + → K + μ + μ − to B + → K + e + e − branching ratios. The data imply that the leptoquark should have a mass of around a TeV. We find that the model is not in conflict with current flavour or direct produc...