N′-[(E)-3-pyridinylmethylene]nicotinohydrazide trihydrate (C12H10N4O·3(H2O)) was synthesized and its structure was determined by single crystal X-ray diffraction method. X-ray analysis showed that the compound crystalized in the triclinic system P-1 with a = 7.1134 (3) Å, b = 10.0208 (4) Å, c = 10.3601 (4) Å, α = 96.386 (3)°, β = 96.995 (3)°, γ = 101.219 (4)°, V = 712.05 (5) Å3 and Z = 2 and exhibits that the title compound (I) consists of N′-[(E)-3-pyridinylmethylene]nicotinohydrazide (II) (C12H10N4O), and three water molecules of crystallization. The two water molecules are attached to the third water molecule through intermolecular two OH…O hydrogen bonds. At the same time, this water molecule is linked to the NH amide group of the hydrazone by an intermolecular NH…O hydrogen bond. Hirshfeld surface (HS) analyses were carried out are to visualise the intermolecular interactions in the crystals of Compound I. The geometric optimization of the titled compound has been carried out by different computational methods such as by Hatree Fock (HF) and Density Functional Theory (DFT) methods with the 6–311++G (d,p) basis set. The vibrational frequency, dipole moment (μ), polarizability (α), hyperpolarizability (β), and electronic properties including the highest occupied molecular orbital-lowest unoccupied molecular orbital (HOMO–LUMO) of the compound have been calculated at the level of both theories. In the results of crystal analysis and geometry calculations of the compound I, it was observed that intermolecular hydrogen bonds, N2H2A…O3, O3H31…O2 and O3H32…O4, were formed. The energy band gap (Eg = ELUMO-EHOMO) values were also obtained by using ELUMO and EHOMO at the level of both theories. The value of equilibrium (ground state) dipole moment of the studied molecule was calculated to be 8.31 Debye in B3LYP and 7.55 Debye in HF. The calculated hyperpolarizability values at the B3LYP/6–311++G(d,p) of the compound are 2.53 × 10−30 esu and this value corresponds to 6.79 times the hyperpolarizability value of urea.