Structures built with prefabricated modules have been recognised as an innovative construction approach that is more efficient and environmentally friendly than traditional construction technologies. Numerous studies have focused on steel- and concrete based modular systems, relatively little attention has been given to prefabricated light-frame timber-based modules. Moreover, the current harmonized design standard, Eurocode 5, primarily addresses simple shear walls and provides limited guidance for more complex modular systems. For more complex structures such as prefabricated timber modules, new methods are needed to evaluate both the global and local structural behaviour. This paper presents a novel parameterised and effective numerical model for prefabricated timber modules developed in the commercial finite element software ABAQUS. By combining advanced connector elements with the extended finite element method, the presented model can simulate both elastic and permanent shear deformations as well as local damage caused by cyclic ranking loads. The model is validated against full-scale experimental results and show reasonable accuracy in predicting global racking stiffness and strength as well as crack initiation and propagation of the sheathing panels. A serviceability cracking-performance index, defined as the load-to-crack-width ratio at a prescribed serviceability limit state displacement, is introduced to compare the local cracking resistance of different types of modules. Moreover, the results show that the structural behaviour of the prefabricated timber modules is governed primarily by the two shear walls, while system level effects contribute to an additional 5 to 20% of the racking strength beyond the sum of the individual wall strengths. In contrast, only approximately 80–90% of the combined shear-wall stiffness is retained at the module level. This indicates that additional compliance is introduced at the system level when the shear walls are integrated into the module. The parametric analyses further show that shear-wall opening geometry and sheathing-to-framing fastener spacing are the most influential design parameters governing global racking performance. Reducing the fastener spacing resulted in greater increases in racking stiffness and strength than those achieved by changing the sheathing material and fastener type, while increasing the opening size considerably reduced the racking resistance. The analyses also indicate that local sheathing cracking has a limited effect on the global load-carrying capacity but should be considered separately as a serviceability criteria. Such damage can be effectively mitigated through appropriate material selection and optimization of the opening-corner geometry. Finally, the comparison of the two framing methods shows that balloon-framed modules achieve higher stiffness and strength because of the restraint between the shear walls and the floor elements in the balloon framing configuration.