A knocking detection method of detecting occurrence of knocking in a combustion chamber of an internal combustion engine , the method comprising: a step of obtaining an oscillation waveform generated by combustion of air-fuel mixture in the combustion chamber ; a step of setting a first time window (TW1) preceding a maximum inner pressure time (T12) at which an inner pressure of the combustion chamber is at maximum in a single combustion cycle and a second time window (TW2) immediately after the maximum inner pressure time (T12), and transforming each of a first waveform portion (WV1) included in the first time window (TW1) and a second waveform portion (WV2) included in the second time window (TW2) into a frequency-domain expression, of the oscillation waveform; and a step of setting a first frequency window (FW1) and a second frequency window (FW2), calculating a first representative value (P1) which is a representative value of the frequency domain expression of the first waveform portion (WV1) in the first frequency window (FW1) and a second representative value (P2) which is a representative value of the frequency domain expression of the second waveform portion (WV2) in the second frequency window (FW2), and determining whether knocking has occurred on the basis of a relationship between the second representative value (P2) and the first representative value (P1), wherein the first representative value (P1) includes a first peak value at which an amplitude of the frequency domain expression of the first waveform portion (WV1) is at maximum in the first frequency window (FW1), wherein the second representative value (P2) includes a second peak value at which an amplitude of the frequency domain expression of the second waveform portion (WV2) is at maximum in the second frequency window (FW2), and wherein the step of determining whether knocking has occurred includes determining whether knocking has occurred on the basis of a relationship between the second peak value and the first peak value. a step of obtaining an oscillation waveform generated by combustion of air-fuel mixture in the combustion chamber ; a step of setting a first time window (TW1) preceding a maximum inner pressure time (T12) at which an inner pressure of the combustion chamber is at maximum in a single combustion cycle and a second time window (TW2) immediately after the maximum inner pressure time (T12), and transforming each of a first waveform portion (WV1) included in the first time window (TW1) and a second waveform portion (WV2) included in the second time window (TW2) into a frequency-domain expression, of the oscillation waveform; and a step of setting a first frequency window (FW1) and a second frequency window (FW2), calculating a first representative value (P1) which is a representative value of the frequency domain expression of the first waveform portion (WV1) in the first frequency window (FW1) and a second representative value (P2) which is a representative value of the frequency domain expression of the second waveform portion (WV2) in the second frequency window (FW2), and determining whether knocking has occurred on the basis of a relationship between the second representative value (P2) and the first representative value (P1), wherein the first representative value (P1) includes a first peak value at which an amplitude of the frequency domain expression of the first waveform portion (WV1) is at maximum in the first frequency window (FW1), wherein the second representative value (P2) includes a second peak value at which an amplitude of the frequency domain expression of the second waveform portion (WV2) is at maximum in the second frequency window (FW2), and wherein the step of determining whether knocking has occurred includes determining whether knocking has occurred on the basis of a relationship between the second peak value and the first peak value. <EOS>