The notion of local mean ergodicity is introduced. Some general locally mean ergodic theorems for linear and affine operators are presented. Locally mean ergodic theorems for affine operators whose linear parts are compact or similar to subnormal operators on a Hilbert space are given.