In 1843, Hamilton (1805–1865) discovered the 4-dimensional division algebra H (ℝ) = ℝ ⊕ i ℝ ⊕ j ℝ ⊕ k ℝ over the field ℝ of real numbers. Hamilton's big discovery is the following beautiful multiplications for the basis { 1 , i , j , k } : i 2 = j 2 = k 2 = i j k = − 1. (⋆) H (ℝ) contains the field ℂ of complex numbers; therefore ℝ ⊂ ℂ ⊂ H (ℝ). Frobenius (1849–1917) showed the following outstanding theorem. Theorem (Frobenius). Up to isomorphism, the only finite-dimensional non-commutative division algebra over ℝ is H (ℝ). Starting from given any ring R and a free right R -module R ⊕ i R ⊕ j R ⊕ k R , the quaternion ring H (R) is canonically defined by the multiplications (⋆). For a commutative field F with 2 ≠ 0 , H (F) is a division ring or isomorphic to the ring of 2 × 2 matrices over F. This is a classical theorem. For nonzero a , b in the center of a ring R , the generalized quaternion ring H (R ; a , b) is defined. H (R ; − 1 , − 1) is H (R). In [I. Kikumasa, K. Koike and K. Oshiro, Complex rings and quaternion rings, East-West J. Math. 21 (2019) 1–19; I. Kikumasa, G. Lee and K. Oshiro, Complex Rings, Quaternion Rings and Octonion Rings (Lambert Academic Publishing, 2020); G. Lee and K. Oshiro, Quaternion rings and octonion rings, Front. Math. China 12(1) (2017) 143–155], quaternion rings and generalized quaternion rings over division rings or other rings are studied. Now, in this paper, from ring theoretic viewpoints, we study quaternion rings H (R) and generalized quaternion rings H (R ; a , b) over local rings R. From our results, we can clearly look over several classical results on H (F) and H (F ; a , b) over commutative fields F. [ABSTRACT FROM AUTHOR]