Embodiments of the present application provide a housing assembly, an antenna assembly, and an electronic device. Wherein the antenna assembly includes a first substrate, a second substrate and an antenna structure, the second substrate is fixedly connected to the first substrate, the second substrate is made of non-metallic material, the second substrate includes a frame, and the frame Around the periphery of the first substrate, the outer surface of the frame has a first rough surface; the antenna structure has a second rough surface, and the antenna structure is arranged on the outer surface of the frame, the first rough surface and the second rough surface Rough surface connection, the antenna structure includes a feeding point and a grounding point, the feeding point extends from the frame position toward the inside of the second substrate, and the grounding point extends from the frame position toward the second substrate The inner direction of the substrate extends, and the ground point is connected to the first substrate. The embodiment of the present application can increase the clearance area of the antenna structure in the electronic device, and improve the radiation signal strength of the antenna structure.