Strickly speaking MD5 is not an encryption algorithm but is a cryptographic hash function. Common terminology calls it encryption so we will go that term.
According to an article in ZDNet by Zack Whittaker, MD5 password encryption is considered too vunerable to attack because of increasingly powerful hardware and attack techniques, "The original author of the MD5 password hash algorithm has publicly declared his software end-of-life and is 'no longer considered safe' to use on commercial websites. 'I implore everybody to migrate to a stronger password scrambler without undue delay," he wrote in a blog post.'"
Here is another article that goes into considerable detail on the MD5 security vulnerablities.
It is highly recommended to consider another more secure encryption technology such as SHA-256 or SHA-512.