Abstract Viscosity of crude oil is an important physical property that controls and influences the flow of oil through rock pores and eventually dictating oil recovery. Prediction of crude oil viscosity is one of the major challenges faced by petroleum engineers in production planning to optimize reservoir production and maximize ultimate recovery. This paper presents prediction of the complete viscosity curve as a function of pressure using artificial intelligence (AI) techniques. The viscosity curve predicted using artificial intelligence techniques derived from gas compositions of Canadian oil fields closely replicated the experimental viscosity curve above and below bubble point pressure when compared with correlations of its class. Functional Networks with Forward Selection (FNFS) outperformed all the AI techniques followed by Support Vector Machine (SVM).