We study the longest increasing subsequence problem for random permutations from S n (312, τ ), the set of all permutations of length n avoiding the pattern 312 and another pattern τ , under the uniform probability distribution. We determine the exact and asymptotic formulas for the average length of the longest increasing subsequences for such permutations specifically when the pattern τ is monotone increasing or decreasing, or any pattern of length four.2010 Mathematics Subject Classification. 05A05, 05A15.