The 3D models of both CB1 and CB2 human receptors have been established by homology modeling using as template the X-ray structure of bovine Rhodopsin (code pdb: 1F88) a G-protein-coupled receptor (GPCR). A recursive approach comprising sequence alignment and model building was used to build both models, followed by the refinement of non-conserved regions. The cannabinoid system has been studied by means of docking techniques, using the 3D models of both CB1 and CB2 and well known reference inverse agonist/antagonist compounds. An approach based on the flexibility of the structures has been used to model the receptor-ligand complexes. The structural effects of ligand binding were studied and analyzed on the basis of hydrogen bond interactions, and binding energy calculations. Potential interaction sites of the receptor were determined from analysis of the difference accessible surface area (DASA) study of the protein with and without ligand.