An uncertainty principle applies to all quantum mechanical operators that do not commute. In particular, it applies also to the electromagnetic field. A digression follows to flesh out the role of commutators for the electromagnetic field.