Abstract. Most previous solutions for groundwater flow induced by localized recharge assumed either aquifer incompressibility or two-dimensional flow in the absence of the vertical flow. This paper develops a new three-dimensional flow model for hydraulic head variation due to localized recharge in a rectangular unconfined aquifer with four boundaries under the Robin condition. A governing equation describing spatiotemporal head distributions is employed. The first-order free-surface equation with a source term defining a constant recharge rate over a rectangular area is used to depict water table movement. The solution to the model for the head is developed with the methods of Laplace transform and double-integral transform. Based on Duhamel's theorem, the present solution is applicable to flow problems accounting for arbitrary time-dependent recharge rates. The solution to depth-average head can then be obtained by integrating the head solution to elevation and dividing the result by the aquifer thickness. The use of a rectangular aquifer domain has two merits. One is that the integration for estimating the depth-average head can be analytically achieved. The other is that existing solutions based on aquifers of infinite extent can be considered as special cases of the present solution before the time when the aquifer boundary had an effect on head predictions. With the help of the present solution, the assumption of neglecting the vertical flow effect on the temporal head distribution at an observation point outside a recharge region can be assessed by a dimensionless parameter related to the aquifer horizontal and vertical hydraulic conductivities, initial aquifer thickness, and the shortest distance between the observation point and the edge of the recharge region. The validity of assuming aquifer incompressibility is dominated by the ratio of the aquifer specific yield to its storage coefficient. In addition, a sensitivity analysis is performed to investigate the head response to the change in each of the aquifer parameters.