This article deals with the vibrations of a nonprismatic thin-walled beam with an open cross section and any geometrical parameters. The thin-walled beam model presented in this article was described using the membrane shell theory, whilst the equations were derived based on the Vlasov theory assumptions. The model is a generalisation of the model presented by Wilde (1968) in ‘The torsion of thin-walled bars with variable cross-section’, Archives of Mechanics, 4, 20, pp. 431–443. The Hamilton principle was used to derive equations describing the vibrations of the beam. The equations were derived relative to an arbitrary rectilinear reference axis, taking into account the curving of the beam axis and the axis formed by the shear centres of the beam cross sections. In most works known to the present authors, the equations describing the nonprismatic thin-walled beam vibration problem do not take into account the effects stemming from the curving (the inclination of the walls of the thin-walledcross section towards to the beam axis) of the analysed systems. The recurrence algorithm described in Lewanowicz’s work (1976) ‘Construction of a recurrence relation of the lowest order for coefficients of the Gegenbauer series’, Applicationes Mathematicae, XV(3), pp. 345–396, was used to solve the derived equations with variable coefficients. The obtained solutions of the equations have the form of series relative to Legendre polynomials. A numerical example dealing with the free vibrations of the beam was solved to verify the model and the effectiveness of the presented solution method. The results were compared with the results yielded by finite elements method (FEM).