The main objective of this work is to extend finite element-based topology optimization problem to the two-dimensional, size-dependent structures described using weakly non-local Cosserat (micropolar) and strongly non-local Eringen’s theories, the latter of which finds an application for the first time, to the best of Authors’ knowledge. The optimum material layouts that minimize the structural compliance are attained by means of Solid Isotropic Material with Penalization approach, while the desired smooth, mesh-independent, binary solutions are obtained using density filter accompanied by volume preserving Heaviside projection method. The algorithms are enhanced by including an element removal and reintroduction strategy to reduce the computational cost, and to prevent spurious excessive distortion of elements with very low density. Example problems of practical importance are investigated under the assumption of linear elasticity to validate the code and to clearly demonstrate the influence of internal length scales and different non-locality mechanisms on final configurations. Obtained macro-scale optimum topologies admit the characteristics of corresponding continuum theories, and appear to be in agreement with the mechanical response governed by particle interactions in micro/nanoscale.