We have used time-resolved scanning Kerr microscopy to study spin waves in a magnetic microwire subjected to a bias magnetic field applied parallel to its long axis. The spin-wave spectra obtained from different points near one end of the wire reveal several normal modes. We found that modes of a higher frequency occupied regions located further from the end of the wire. This was interpreted in terms of the confinement of the spin-wave modes by a nonuniform demagnetizing field. Furthermore, at a particular distance from the end of the wire, two or more modes occupying different regions along the width of the wire were observed. This was interpreted in terms of the confinement of the spin-wave modes due to an asymmetric variation in the local angle between the static magnetization and the effective direction of the wave vector of the confined modes. Images of the dynamic magnetization that are acquired at fixed pump-probe time delays revealed stripes lying perpendicular to the long axis of the wire and, hence, to the applied magnetic field. We interpret the stripe pattern in terms of a collective mode of the quasiperiodic system of ripple domains existing within the polycrystalline sample. Our results give an additional insight into the connection between the nonuniform static magnetic state in small magnetic elements and their precessional dynamics, which is fundamentally important for the design of future high-speed switching and spin-wave logic devices of magnonics. The inherent nonuniformity of magnetization configurations in nonellipsoidal magnetic elements makes them the perfect objects for the investigation of wave phenomena in nonuniform media. The elementary excitations of magnetic media ͑so-called spin waves͒ have a strongly nonlinear dispersion, which is complicated by long-range magnetodipole interaction. In most magnetic elements of finite size, the latter remarkably makes the internal magnetic field nonuniform even when the magnetization configuration is almost uniform. The nonuniform internal field may lead to the spatial confinement of spin-wave modes 1,2 while the dephasing of the modes leads to a nonuniform magnetic response to a uniform pulsed magnetic field. [3][4][5][6][7] Apart from the fundamental interest, the studies of the magnetization dynamics in small magnetic elements are driven by the fast growing market of high-speed magnetic data storage devices. In particular, chips incorporating magnetic random access memory are now becoming available. 8 Time-resolved scanning Kerr microscopy ͑TRSKM͒ 3 has become one of the most widely used tools for imaging the spatial character of the magnetization dynamics within micrometer-sized magnetic disks, 3,6 stripes, 2,9 rectangles, 3,10 and squares. 4,5,7,11,12 Magnetization dynamics in micrometersized magnetic tunnel junctions were imaged in Ref. 13. Although the spatial character of the magnetization dynamics in nanometer-sized elements cannot be directly studied by TRSKM, the lack of a spatial resolution can be circumvented by combining the measur...