We measured 1H nuclear magnetic resonance (NMR) spectra from silicon rubber in a magnetic field trapped by a compact tubular MgB2 superconductor bulk magnet (60 mm outer diameter, 40 mm inner diameter, and 60 mm height) which was magnetized by field-cooled magnetization from an applied field,
B
a
p
p
, of 0.4778 T at 20 K. The sharpest 1H NMR spectrum of the resonant frequency,
f
R
, of 20.314 MHz, which corresponded to a field strength of 0.4771 T, was observed at 1 mm below the center of the bore of the MgB2 tube. The homogeneity of the trapped field was within 100 ppm between z
=
−2 and +2 mm along the central z-axis, which was evaluated by the position-dependent
f
R
. No change in the trapped field was observed for about 25 d, which corresponded to a decay rate of less than 0.1 ppb h−1. The obtained results suggest that the MgB2 bulk magnet is a promising candidate for a magnetic pole in an NMR apparatus.