The diffusive wave equation is generally used in flood routing in rivers. The two parameters of the equation, celerity and diffusivity, are usually taken as functions of the discharge. If these two parameters can be assumed to be constant without lateral inflow, the diffusive wave equation may have an analytical solution: the Hayami model. A general analytical method, based on Hayami's hypothesis, is developed here which resolves the diffusive wave flood routing equation with lateral inflow or outflow uniformly distributed over a channel reach. Flood routing parameters are then identified using observed inflow and outflow and the Hayami model used to simulate outflow. Two examples are discussed. Firstly, the prediction of the hydrograph at a downstream section on the basis of a knowledge of the hydrograph at an upstream section and the lateral inflow. The second example concerns lateral inflow identification between an upstream and a downstream section on the basis of a knowledge of hydrographs at the upstream and downstream sections. The new general Hayami model was applied to flood routing simulation and for lateral inflow identification of the River Allier in France. The major advantages of the method relate to computer simulation, real-time forecasting and control applications in examples where numerical instabilities, in the solution of the partial differential equations must be avoided.