A partial Latin square (PLS) is a partial assignment of n symbols to an n x n grid such that, in each row and in each column, each symbol appears at most once. The partial Latin square extension problem is an NP-hard problem that asks for a largest extension of a given PLS. We consider the local search such that the neighborhood is defined by (p, q)-swap, i.e., the operation of dropping exactly p symbols and then assigning symbols to at most q empty cells. As a fundamental result, we provide an efficient (p, oo)-neighborhood search algorithm that finds an improved solution or concludes that no such solution exists for p E {1, 2, 3}. The running time of the algorithm is O(nP+ 1). We then propose a novel swap operation, Trellisswap, which is a generalization of (p, q)-swap with p ~ 2. The proposed Trellis-neighborhood search algorithm runs in O(n 3 • 5) time. The iterated local search (ILS) algorithm with Trellisneighborhood is more likely to deliver a high-quality solution than not only ILSs with (p, oo)neighborhood but also state-of-the-art optimization solvers such as IBM ILOG CPLEX and LOCALSOLVER.