The present invention relates to a system and method for farming. In particular, there is a system for indoor farming comprising at least one growth rack, the at least one growth rack comprises a plurality of cells; a plurality of farming modules, each farming module configured to be stored in a cell, each farming module configured to grow at least one type of plant; a machine arranged to move each of the plurality of farming modules in/from each of the corresponding cell; wherein each of the plurality of farming module comprises one or more self-contained nutrient tray portion specific to the type of plant, and wherein each farming module is independent with respect to other farming modules.