Modularity is a central concept in modern biology, providing a powerful framework for the study of living organisms on many organizational levels. Two central and related questions can be posed in regard to modularity: How does modularity appear in the first place, and what forces are responsible for keeping and/or changing modular patterns? We approached these questions using a quantitative genetics simulation framework, building on previous results obtained with bivariate systems and extending them to multivariate systems. We developed an individual-based model capable of simulating many traits controlled by many loci with variable pleiotropic relations between them, expressed in populations subject to mutation, recombination, drift, and selection. We used this model to study the problem of the emergence of modularity, and hereby show that drift and stabilizing selection are inefficient at creating modular variational structures. We also demonstrate that directional selection can have marked effects on the modular structure between traits, actively promoting a restructuring of genetic variation in the selected population and potentially facilitating the response to selection. Furthermore, we give examples of complex covariation created by simple regimes of combined directional and stabilizing selection and show that stabilizing selection is important in the maintenance of established covariation patterns. Our results are in full agreement with previous results for two-trait systems and further extend them to include scenarios of greater complexity. Finally, we discuss the evolutionary consequences of modular patterns being molded by directional selection.variational modularity | G-matrix | quantitative genetics | pleiotropy | phenotypic correlations M odularity, the organizational pattern found in many organisms, can be defined as the tendency for some parts to be more associated with each other than with other parts of the same organism. This type of modular organization can manifest at many levels, for example, between the bases of an RNA molecule (1), in the interaction between proteins (2), or in the covariance structure of continuous morphological traits (3). In each case, the type of association is different, but the modular pattern remains (4). Traits measured on a continuous scale that covary with each other can frequently be divided into variational modules. A variational module is characterized by higher correlations between traits in the same module and lower correlations between traits of different modules.Modularity is an important concept in understanding the evolution of many biological systems. At the individual level, tension in producing a full, coherent organism, and having each of its parts performing a separate task subject to different selective pressures and requirements, shapes the association between traits (5). At the same time, the existing pattern of association also influences the response to a given selective pressure: Traits that are associated tend to change together (6, 7). The...