The invention discloses a multi-band linear frequency modulation signal generation method capable of flexibly selecting frequencies, and relates to the technical field of microwaves and the technical field of optical communication. The method is shown in a figure 1 in the specification, and comprises a laser device LD, a dual-polarization binary phase shift keying modulator DP-BPSK, an arbitrary waveform generator AWG, an erbium-doped fiber amplifier EDFA, a polarization controller PC, a polarizer POL and a photoelectric detector PD. Phase modulation is carried out on a local oscillator signal through the DD-MZM1 of the DP-BPSK upper arm, and carrier suppression double-sideband modulation is carried out on an IF-LFM signal through the DD-MZM2 of the DP-BPSK lower arm; the PC is adjusted, the phase difference between the two polarization states is controlled, and then a multiband linear frequency modulation signal can be obtained after POL and photoelectric detection. According to the invention, the electronic bottleneck of the electric field technology is overcome, and the characteristic of flexible frequency tuning is added; multi-band signals are generated at the same time, so that the system has potential application value in a multi-band radar and a distributed radar system.