Hybrid organic-inorganic molecular ferroelectrics (HOIMFs) have garnered significant attention for their potential applications in nonvolatile memory and spintronic devices. However, few efforts have been devoted to the photoelectric properties of lead halide molecular ferroelectrics, despite the fact that robust ferroelectricity and flexibility are desirable for thin-film photoelectric devices. Herein, we present a novel lead halide molecular ferroelectric [C8N2H22][PbI4] (1) synthesized hydrothermally. A polar monoclinic structure of 1 was solved by single-crystal X-ray diffraction and second-harmonic generation (SHG) tests. A direct band gap of 2.36 eV was confirmed by UV-vis spectrum and theoretical calculation. Hysteresis measurements demonstrated inherent room-temperature (RT) ferroelectricity in 1 with a spontaneous polarization (Ps) of 3.2 μC/cm2. The 1-based photoelectric device shows a notable photovoltaic (PV) effect with Voc ∼ 0.27 V, Jsc ∼ 38 nA/cm2 under AM 1.5 G illumination, and a rapid response time of ∼1.5 ms. A considerable enhancement in PV performance has been achieved by adjusting the ferroelectric polarization, resulting in a maximum Voc ∼ 0.75 V, Jsc ∼ 2.28 μA/cm2. Notably, 1 exhibits a rather large SHG signal, which is approximately 2.61-fold higher than that of KH2PO4 (KDP) upon a 1064 nm laser radiation. This study offers a bright avenue for lead halide molecular ferroelectrics as promising optoelectronic devices and SHG materials.