We report a microlens array with a controllable focal length that is based on a selective wetting surface. A substrate modified with a hydrophobic layer that has an array of microholes exhibits different wettability for inside holes (hydrophilic) versus outside holes (hydrophobic). When liquid flows over the surface, a small amount of liquid is adhered to hydrophilic holes and forms a lens-shaped droplet array that self-assembles because of surface tension. A large-sized plano-convex lens array that has good uniformity is obtained via the blade coating method, and controlling the amount of liquid enables control of the focal length. Our self-assembled microlens array has the merits of high optical performance, a simple fabrication procedure, and good mechanical stability, and thus, it has potential applications in imaging processing, light extraction, protein detection, light-emitting diodes, sensors, and displays.