Sex ratio (SR), the ratio of female inflorescences to total inflorescences, is one of the main yield components of oil palm (Elaeis guineensis Jacq). The SR quantitative trait locus (QTL) was recently identified on linkage (LG) 8 with a phenotype variance explained (PVE) of 11.3 %. The use of both genetic and physical mapping is one strategy for uncovering the genetic basis of the traits. Here, we report the construction of bacterial artificial chromosome (BAC) and fosmid libraries, and their use for physical mapping in oil palm. Combined, the libraries consist of more than 200,000 clones, representing 6.35 genome equivalents. Physical mapping at the SR locus was implemented by incorporating the published oil palm genome sequence and positive BAC/fosmid clones as identified by colony PCR screening. Based on the previously published sequences, the interval (about 184 kb) was comprised of 19 contigs of the known sequences (~117 kb, 64 %). After, combining the 454 pyrosequences of 15 positive clones and the previously published sequences, the known sequences were revealed to cover about 82 % of the interval (~150 kb), and were used for identifying the new markers by designing 35 gene-based and 23 simple sequence repeat (SSR)-amplified primers. As a result, a putative aldo-keto reductase gene (named EgAKR1) was revealed to be a promising candidate for sex ratio determination, via controlling female inflorescence number (11 % of PVE). This was predicted from the two newly identified polymorphic marker loci (mEgSSRsr8-21LB and mEgAKR1-9) designing from EgAKR1. The functions of AKR gene families in other plant species and our promoter analysis suggested that EgAKR1 may contribute to the sex ratio through abiotic stress responsiveness.