Let λ be an integer, and f(z)=∑n≫−∞a(n)qn be a weakly holomorphic modular form of weight λ+21 on Γ0(4) with integral coefficients. Let ℓ≥5 be a prime. Assume that the constant term a(0) is not zero modulo ℓ. Further, assume that, for some positive integer m, the Fourier expansion of (f∣Uℓm)(z)=∑n=0∞b(n)qn has the form \[ (f|U_{\ell^m})(z) \equiv b(0) + \sum_{i=1}^{t}\sum_{n=1}^{\infty} b(d_i n^2) q^{d_i n^2} \pmod{\ell}, \] where d1,…,dt are square-free positive integers, and the operator Uℓ on formal power series is defined by \[ \left( \sum_{n=0}^\infty a(n)q^n \right) \bigg| U_\ell = \sum_{n=0}^\infty a(\ell n)q^n. \] Then, λ≡0(mod2ℓ−1). Moreover, if f~ denotes the coefficient-wise reduction of f modulo ℓ, then we have \[ \biggl\{ \lim_{m \rightarrow \infty} \tilde{f}|U_{\ell^{2m}}, \lim_{m \rightarrow \infty} \tilde{f}|U_{\ell^{2m+1}} \biggr\} = \biggl\{ a(0)\theta(z), a(0)\theta^\ell(z) \in \mathbb{F}_{\ell}[[q]] \biggr\}, \] where θ(z) is the Jacobi theta function defined by θ(z)=∑n∈Zqn2. By using this result, we obtain the distribution of the Fourier coefficients of weakly holomorphic modular forms in congruence classes. This applies to the congruence properties for traces of singular moduli.