We present a general theory for determining the force (and torque) exerted on a boundary (or body) in active matter. The theory extends the description of passive Brownian colloids to self-propelled active particles and applies for all ratios of the thermal energy k B T to the swimmer's activity k s T s = ζ U 2 0 τ R /6, where ζ is the Stokes drag coefficient, U 0 is the swim speed and τ R is the reorientation time of the active particles. The theory, which is valid on all length and time scales, has a natural microscopic length scale over which concentration and orientation distributions are confined near boundaries, but the microscopic length does not appear in the force. The swim pressure emerges naturally and dominates the behaviour when the boundary size is large compared to the swimmer's run length = U 0 τ R . The theory is used to predict the motion of bodies of all sizes immersed in active matter.