“Lekima” and “Rumbia” caused the two most extreme heavy rainfall (EHR) events on record in Shandong Province of China, resulting in catastrophic flooding disasters. Based on the conventional meteorological observation data, the reanalysis data from the National Centers for Environmental Prediction (NCEP), and the precipitation data from automatic weather stations, the frontogenesis mechanism of the two typhoon rainstorms in Shandong are compared and analyzed. The results indicate that the two typhoon rainstorms are both caused by the interactions between mid‐ and low‐latitude weather systems. When Typhoon Rumbia affected Shandong Province, the distance between the typhoon and the westerly trough was relatively far due to the blocking of the high‐pressure over the East China Sea. While affected by Typhoon Lekima, the typhoon merged with the westerly trough, and thus the heavy rainfall was more intense. Cold air played a crucial role in both typhoon rainstorms, but the specific location and intensity of cold air intrusion were different, and thus the precipitation caused by Typhoon Lekima was greater. Meanwhile, the θse value was larger, and the θse front area was wider for Lekima. The frontogenesis intensity centers corresponded well with the rainstorm centers during the two rainstorm processes. The frontogenesis intensity was strongest during the interaction period between midlatitude and tropical systems, and this intensity was indicative of the heavy rainfall in the next 6 h. Due to stronger frontogenesis, Typhoon Lekima brought more precipitation. The elongation deformation term, shear deformation term, and divergence term all positively contributed to the total frontogenesis during the process of Typhoon Rumbia rainstorm. For Typhoon Lekima, the shear deformation and divergence terms dominated the total frontogenesis, while the elongation deformation term contributed little, largely because of the sharp wind shear caused by the “opposite winds” associated with the tightly packed iso‐θse (pseudo‐equivalent potential temperature) contours. This feature warrants particular attention in typhoon forecasting and warning. In both typhoon events, the thresholds for identifying precipitation can be defined as follows: wind profiler radar vertical velocity ≥2 m·s −1 , spectral width ≥2 m·s −1 , and signal‐to‐noise ratio (SNR) ≥20 dB. During intense precipitation, vertical velocity generally exceeded 8 m·s −1 . Typhoon Lekima exhibited greater vertical velocity, stronger intensity of spectral width, and higher extension height.