At the beginning of the present work nonlinear contact finite elements (»Nllink« elements) offered by SAP2000 commercial software program are presented. The behaviour of the most typical elements (linear and nonlinear axial springs, axial springs of the »Gap«, »Hook« and »Plastic« types and also linear and nonlinear springs in shear and bending direction) is shown in simple examples. Such springs are then used for the modeling the behaviour of structural elements with imperfect connections, among which the connections in layered beams are presented in detail (cantilever, T beam, layered timber beam with nailed interfaces). Nonlinearities in restraints and groundwork are also modeled with the presented springs (beam, base plate). Last of all, an example of a stone wall with cracks modeled with springs is analysed. Different types of analyses are used: linear analysis, nonlinear analysis (geometric linear and geometric nonlinear) and buckling analysis. The results of our models are compared with the available data and only small deviations are noticed. It is evident that using the presented method of modeling, which takes imperfect connections into account, we can describe the actual behaviour of structural elements with much more precision. Such modeling therefore appears highly sensible and practical to use, especially with the SAP2000 program, which, in this respect, is highly advantageous and easy to use. The differences in the behaviour and, consequently, in the strength between structural elements with perfect and imperfect connections respectively, are considerable, which is particularly emphasized with the example of layered timber beam with nailed interfaces. The properties of interfaces between layers must obviously be known in such modeling.