Homogeneous Charge Compression Ignition (HCCI) engines have attracted much attention and are being widely researched as engines characterized by low emissions and high efficiency. However, one issue of HCCI engines is their limited operating range because of the occurrence of rapid combustion at high loads and misfiring at low loads. It is known that knocking accompanied by in-cylinder pressure oscillations also occurs in HCCI engines at high loads, similar to knocking seen in spark-ignition engines. In this study, HCCI combustion accompanied by in-cylinder pressure oscillations was visualized by taking high-speed photographs of the entire bore area. In addition, the influence of internal exhaust gas circulation (EGR) on HCCI knocking was also investigated. The visualized combustion images revealed that rapid autoignition occurred in the end-gas region during the latter half of the HCCI combustion process when accompanied by in-cylinder pressure oscillations. It was also found that applying internal EGR had the effect of moderating combustion by delaying the ignition timing, thereby suppressing in-cylinder pressure oscillations.