The recommended image size for WordPress optimization is 1200px to 2000px on the longest side, with a resolution of 72dpi. This size ensures that the image is high quality but not too large in file size, which can slow down your website’s loading time.