We study the bulk viscosity of neutron star matter including Λ hyperons in the presence of quantizing magnetic fields. Relaxation time and bulk viscosity due to both the nonleptonic weak process involving Λ hyperons and direct Urca processes are calculated here. In the presence of a strong magnetic field of 1017G, the hyperon bulk viscosity coefficient is reduced, whereas bulk viscosity coefficients due to direct Urca processes are enhanced compared with their field free cases when many Landau levels are populated by protons, electrons, and muons. © 2009 The American Physical Society.