The ability of hydrophilic chain segments in polymer networks to strongly interact with water allows the volumetric expansion of the material and formation of a hydrogel. When polymer chain segments undergo reversible hydration depending on environmental conditions, smart hydrogels can be realized, which are able to shrink/swell and thus alter their volume on demand. In contrast, implementing the capacity of hydrogels to switch their shape rather than volume demands more sophisticated chemical approaches and structural concepts. In this Account, the principles of hydrogel network design, incorporation of molecular switches, and hydrogel microstructures are summarized that enable a spatially directed actuation of hydrogels by a shape-memory effect (SME) without major volume alteration. The SME involves an elastic deformation (programming) of samples, which are temporarily fixed by reversible covalent or physical cross-links resulting in a temporary shape. The material can reverse to the original shape when these molecular switches are affected by application of a suitable stimulus. Hydrophobic shape-memory polymers (SMPs), which are established with complex functions including multiple or reversible shape-switching, may provide inspiration for the molecular architecture of shape-memory hydrogels (SMHs), but cannot be identically copied in the world of hydrophilic soft materials. For instance, fixation of the temporary shape requires cross-links to be formed also in an aqueous environment, which may not be realized, for example, by crystalline domains from the hydrophilic main chains as these may dissolve in presence of water. Accordingly, dual-shape hydrogels have evolved, where, for example, hydrophobic crystallizable side chains have been linked into hydrophilic polymer networks to act as temperature-sensitive temporary cross-links. By incorporating a second type of such side chains, triple-shape hydrogels can be realized. Considering the typically given light permeability of hydrogels and the fully hydrated state with easy permeation by small molecules, other types of stimuli like light, pH, or ions can be employed that may not be easily used in hydrophobic SMPs. In some cases, those molecular switches can respond to more than one stimulus, thus increasing the number of opportunities to induce actuation of these synthetic hydrogels. Beyond this, biopolymer-based hydrogels can be equipped with a shape switching function when facilitating, for example, triple helix formation in proteins or ionic interactions in polysaccharides. Eventually, microstructured SMHs such as hybrid or porous structures can combine the shape-switching function with an improved performance by helping to overcome frequent shortcomings of hydrogels such as low mechanical strength or volume change upon temporary cross-link cleavage. Specifically, shape switching without major volume alteration is possible in porous SMHs by decoupling small volume changes of pore walls on the microscale and the macroscopic sample size. Furthermore, oligomeric rather than short aliphatic side chains as molecular switches allow stabilization of the sample volumes. Based on those structural principles and switching functionalities, SMHs have already entered into applications as soft actuators and are considered, for example, for cell manipulation in biomedicine. In the context of those applications, switching kinetics, switching forces, and reversibility of switching are aspects to be further explored.