An axle assembly that includes a barrel cam. The barrel cam may be rotatable about a barrel cam axis and may be operatively connected to a first shift collar. Rotation of the barrel cam about the barrel cam axis may control movement of the first shift collar along a first axis.