The nearest star system to our solar system is the Alpha Centauri system, located about 4.37 light-years away. Since the speed of light is the fastest speed at which information or objects can travel through space, it would take approximately 4.37 years for a probe traveling at the speed of light to reach the Alpha Centauri system, as measured from Earth.
However, it is currently not possible for any object with mass to reach or exceed the speed of light according to our current understanding of physics. As an object with mass approaches the speed of light, its energy requirements become infinite, making it impossible to achieve or sustain such velocities.
In practice, the fastest spacecraft we have developed so far, such as NASA's Voyager 1 and Voyager 2, travel at speeds of roughly 17 kilometers per second (or about 0.006 percent of the speed of light). At this speed, it would take these spacecraft tens of thousands of years to reach the Alpha Centauri system. Therefore, we would need to develop significantly faster propulsion systems or explore other technological advancements to significantly reduce the travel time to the nearest star system.