The invention discloses a device for transition from a rectangular waveguide to a substrate integrated waveguide on a Ka-band. The device comprises the rectangular waveguide, a first resonant cavity, the substrate integrated waveguide and a second resonant cavity, which are sequentially arranged from bottom to top, wherein the substrate integrated waveguide comprises a dielectric substrate, an upper metal sheet and a lower metal sheet; the upper metal sheet and the lower metal sheet are arranged on the upper surface and the lower surface of the dielectric substrate; a first coupling window is formed in the position, corresponding to a rectangular waveguide opening, of the lower metal sheet; and a second coupling window is formed in the position, corresponding to the second resonant cavity, of the upper metal sheet. The device has the advantages of small volume, small insertion loss and large bandwidth, and is suitable for application of right-angle transition of the Ka-band broadband, simple in structure, easy to fabricate and worthy of industry promotion; and mass production is achieved.