We herein report the first sodium borate-squarate, namely, Na2(C4O4)(H3BO3)(H2O)4·H3BO3 (1). It has been successfully synthesized via introducing the planar π-conjugated (C4O4)2- into a borate system. Compound 1 exhibits a strong second-harmonic-generation (SHG) response (2.1 × KDP), wide transparency in the ultraviolet (UV) region and a suitable birefringence of 0.26 at 1064 nm. Theoretical calculations indicate that the synergy effect between inorganic planar π-conjugated species H3BO3 and organic moiety (C4O4)2- dominates the SHG process.