It is difficult to estimate how long it will take to learn affiliate marketing since it depends on many factors, such as your prior knowledge and experience, how much time you are willing to dedicate to learning, and which learning resources you use. That being said, it is possible to develop a fairly good understanding of affiliate marketing within a few weeks or months if you are diligent and use quality learning resources. And if you already have some experience in marketing or online business, you may be able to learn at a faster pace.