The derivation of the Feynman path integral based on the Trotter product formula is extended to the case where the system is in a magnetic field.