The invention discloses an ultra-wideband double-ridge horn antenna for a 1-40GHz frequency band, and belongs to the technical field of antennas. The problems are solved that an existing double-ridgehorn antenna is poor in low-frequency-band matching performance, high-frequency-band directional diagram main lobes are split, and gain is reduced. The antenna comprises a ridged horn and a feed structure, the ridged horn comprises a shell, an upper ridge and a lower ridge, the shell is a rectangular cone structure, metal grids are arranged on the left side wall and the right side wall of the shell, the upper ridge and the lower ridge are fixedly arranged on the inner sides of the upper side wall and the lower side wall of the shell respectively, and the ridge line of the upper ridge and the ridge line of the lower ridge are curves; the feed structure comprises a coaxial line, a metal floor and a waveguide section, the metal floor is vertically arranged, the coaxial line is horizontally arranged, and the coaxial line is connected with the ridged horn through the metal floor and the waveguide section.