In this work we report a scanning tunneling microscopy investigation of lithographically defined superconducting nanosquares. The obtained spectroscopic maps reveal the spatial evolution of both the superconducting condensate and the screening currents as a function of the applied magnetic field. The symmetry of the nanostructure is imposed on the condensate and it controls the distribution of the vortices inside the nanosquare. Our local study allows exploring the impact of small structural defects, omnipresent in these kind of structures, on both the supercurrent and vortex distribution. As a result, direct experimental evidence of vortex pinning and current crowding at the nanoscale has been obtained. DOI: 10.1103/PhysRevB.93.054514 Confinement effects play an important role in different physical phenomena especially in quantum systems like Bose-Einstein condensates, superconductors, and superfluids. For example, the ability to structure superconducting devices at length scales comparable to the characteristic sizes (penetration dept λ and coherence length ξ ) of the condensate revealed a vast world of possibilities to explore quantum phenomena (e.g., creation of artificial atoms [1], induction of quantum phase slip lines [2], confinement effects [3], to name a few). In the latter example, theoretical modeling of these systems solving the Ginzburg-Landau (G-L) [4,5] or Bogoliubov-deGennes (B-dG) [6] equations for single and/or multiband mesoscopic superconductors has been done. All these simulations unveil the importance of confinement in mesoscopic superconducting systems. For example, the symmetry of the nanostructure will compete with the vortex-vortex interaction resulting in different vortex configurations compared to the triangular Abrikosov lattice, found in bulk superconductors [3][4][5][6].These intriguing effects were experimentally investigated, using low temperature transport measurements, by probing the influence of nanostructuring on the superconductor/normal phase boundary [3]. Although these measurements proved the importance of size and shape they do not give sufficient local information about the spatial distribution of the superconducting condensate. Moreover, a different approach is needed to explore the condensate in the nondissipative (zero voltage) state. In order to tackle these issues a second set of experiments probes the magnetic field profiles, generated by the superconducting currents, by using magnetic field sensitive probes (e.g., Hall probe [7,8], scanning Hall probe microscopy [9], Bitter decoration [10], and scanning SQUID microscopy [11]). These techniques indeed visualized the symmetry-induced vortex configurations in superconducting nanostructures within the low confinement regime (i.e., nanostructure size ∼λ ξ ). The observed configurations are the results of the imposed boundary conditions and the repulsive magnetic interactions between vortices. In the strong confinement regime (i.e., nanostructure size ∼ξ λ), the distribution of the superconducting condensate is gov...