A340 Valve Body Replacement: Step-by-Step Guide

A340 Valve Body Replacement: Step-by-Step Guide

A340 Valve Body Replacement: Step-by-Step Guide

If your Toyota or Lexus A340E or A340F is showing delayed engagement, soft or flared shifts, converter lockup trouble or shift solenoid codes, the valve body is one of the few major repairs you can do without pulling the transmission. The valve body bolts to the bottom of the case under the oil pan, and Toyota's factory repair manual lists it as an on-vehicle repair. This guide walks through the factory procedure step by step, with the bolt counts, bolt lengths and torque values taken straight from the Toyota service manual, plus what to inspect and replace while the pan is off.

The specs below come from the 2003 Toyota Tacoma repair manual (RM1002U), A340E/A340F section. Procedures on other A340-family vehicles are similar, but always confirm counts and torques against the manual for your exact vehicle and engine.

Before You Start: Confirm the Valve Body Is the Problem

A valve body swap will not fix worn clutches or a failing torque converter. Before you order parts, work through these checks:

  1. Scan for codes. Shift solenoid and lockup codes point toward the valve body and its solenoids. A mechanical slip with no codes points more toward clutches.
  2. Time the engagement. Toyota's service data for the A340E/A340F lists a time lag of less than 1.2 seconds from N to D and less than 1.5 seconds from N to R. A lag well beyond that suggests low pressure somewhere in the system.
  3. Check line pressure. With a gauge on the line pressure port, Toyota specifies (5VZ-FE V6 Tacoma) 55-64 psi in D and 85-100 psi in R at idle, rising to 158-178 psi in D and 212-260 psi in R at stall. The 3RZ-FE four-cylinder specs are slightly lower, so use the table for your engine.
  4. Read the pan. The factory manual tells you to examine the particles on the pan magnets: steel (magnetic) debris indicates bearing, gear and clutch plate wear, while brass (non-magnetic) indicates bushing wear. Heavy clutch material or metal means the problem goes beyond the valve body.

For a full symptom rundown, see our guide on A340 valve body symptoms and how to know yours is failing.

Identify Your Valve Body Type

According to the Sonnax A340E/F identification guide, 2000-and-later A340E/F units use two late-style valve bodies: the Type 3 (casting ID #8935), used in V8 applications with EPC-style throttle control only, and the Type 4 (casting ID #8938), used in V6 or V8 applications with either EPC or cable-style throttle control. Earlier units use the Type 1 castings (8930/8931). Check the casting number before you buy a replacement unit or any valve body repair kit, because many parts fit only one type.

Tools and Parts You Will Need

  • Metric sockets, extensions and a torque wrench that reads accurately in the 7-8 ft-lb (10-11 N·m) range. An inch-pound wrench is the better choice here.
  • A drain pan and a gasket scraper or razor blade for the old sealer.
  • Toyota's oil pan seal cutter (SST 09032-00100) or a similar thin blade to break the factory sealant.
  • FIPG sealer (Toyota 08826-00090, Three Bond 1281 or equivalent) or a pan gasket, plus new oil strainer gaskets and solenoid O-rings.
  • A plastic hammer for seating the oil pipes.
  • Fresh ATF of the type your owner's manual specifies.

Step-by-Step: Removing the A340 Valve Body

1. Drain the fluid and remove the pan

Remove the drain plug and drain the ATF. Remove the 19 oil pan bolts, then work the SST blade between the case and pan to cut the sealer. Some fluid will remain in the pan. Toyota warns not to damage the pan flange during removal.

2. Inspect the magnets

Pull the magnets and inspect the debris as described above. This is your last chance to decide whether a valve body alone is the right repair.

3. Remove the oil strainer

On the A340E, separate the solenoid wire, then remove the 3 bolts, the strainer and its 2 gaskets. On the A340F, remove the 4 bolts, the strainer and 3 gaskets. Expect fluid to come out of the strainer.

4. Remove the oil pipes

Pry up both ends of each pipe with a large screwdriver. The A340E has 2 pipes; the A340F has 1.

5. Disconnect the solenoids and remove the valve body bolts

The count depends on the engine:

  • 3RZ-FE four-cylinder: disconnect the 3 solenoid connectors. Remove 17 bolts on the A340E or 16 bolts on the A340F. Bolt A is 23 mm and bolt B is 32 mm long. Disconnect the throttle cable from the cam before lowering the valve body.
  • 5VZ-FE V6: disconnect the 4 solenoid connectors and remove the 20 bolts.

Lay the bolts out in the pattern you removed them. Mixed-up bolt lengths are one of the most common reinstall mistakes.

6. Lower the valve body

Lower it straight down. Toyota specifically warns not to drop the check ball body and spring, which can fall out as the valve body separates from the case.

Transferring or Replacing the Shift Solenoids

If your replacement valve body does not come with solenoids, move them over (or install new ones):

  • 3RZ-FE: remove the mounting bolts and the 3 solenoid valves. Coat 3 new O-rings with ATF, install them and bolt the solenoids down at 10 N·m (7 ft-lbf).
  • 5VZ-FE: remove the 2 bolts and 3 solenoids, then turn the valve body over and remove the bolt, lock plate and remaining solenoid. On install, fit new O-rings and torque the lock plate bolt and the 2 solenoid bolts to 10 N·m (7 ft-lbf). The V6 procedure also has you move the detent spring (10 N·m / 7 ft-lbf) and the manual valve.
A340E shift and lock-up TCC solenoid kit with filter and pan gasket 2000-2004
A340E Shift and Lock-Up TCC Solenoid Kit 2000-2004 with Filter and Gasket

Step-by-Step: Installing the A340 Valve Body

1. Align the manual valve

Align the groove of the manual valve with the pin on the manual valve lever as you raise the valve body into place. If this is missed, the shifter will not move the manual valve and the transmission will not select gears correctly.

2. Reconnect the throttle cable (3RZ-FE)

On the four-cylinder units, connect the throttle cable to the cam before starting the bolts.

3. Install and torque the bolts

  • 3RZ-FE: 17 bolts (A340E) or 16 bolts (A340F), bolt A 23 mm and bolt B 32 mm, torqued to 10 N·m (100 kgf·cm, 7 ft-lbf).
  • 5VZ-FE: 20 bolts, bolt A 23 mm, bolt B 28 mm and bolt C 36 mm, torqued to 11 N·m (110 kgf·cm, 8 ft-lbf).

These are small numbers, so use an accurate low-range torque wrench and follow the factory values exactly. Reconnect the solenoid connectors when the bolts are torqued.

4. Reinstall the oil pipes

Tap the pipes into position with a plastic hammer. Toyota warns not to bend or damage them and to make sure the pipes and magnets will not interfere with the oil pan.

5. Install the strainer

A340E: 2 new gaskets and 3 bolts at 10 N·m (7 ft-lbf), then clamp the solenoid wire. A340F: 3 new gaskets and 4 bolts (14 mm, 20 mm and 23 mm lengths) at 10 N·m (7 ft-lbf).

6. Seal and install the pan

Place the magnets back in their marked locations (4 on the A340E, 6 on the A340F). If using FIPG, Toyota specifies removing all old sealer, cleaning both surfaces with a non-residue solvent, applying an approximately 1 mm bead, and assembling within 10 minutes. Install the 19 pan bolts at 7.4 N·m (75 kgf·cm, 65 in-lbf) and the drain plug at 20 N·m (205 kgf·cm, 15 ft-lbf).

7. Fill and verify

Fill and check the ATF per the factory level-check procedure, then recheck the N-to-D and N-to-R engagement times and, ideally, line pressure against the specs above.

Replace While You Are In There

  • Strainer and gaskets. Always use new strainer gaskets. A pan-off job is the right time for a new filter.
  • Shift and lockup solenoids. On a high-mileage unit, new solenoids cost far less than a second pan drop.
  • Valve body wear parts (if rebuilding your own unit). Sonnax describes its A340-LATE-ZIP Zip Kit for Type 3 and 4 valve bodies as sealing pressure losses in the main line, accumulator, EPC and lockup control circuits, plus end plug leakage and poor checkball sealing, with no special tools required. Individual kits include the A340E Sonnax dual-ratio boost valve kit 97741-01K (Sonnax lists it for delayed Reverse, delayed Forward, soft upshifts and low pressure) and the A340E Sonnax O-ringed end plug kit 97741-19K (soft shifts, low line rise, slips and flares). Both are for Type 3 and 4 valve bodies only.

Browse the full selection in our transmission valve bodies, transmission solenoids and shift kits collections.

Effort and Difficulty

This is an intermediate DIY job. There is no transmission removal, but you are working overhead with fluid, small fasteners and a low-torque spec that is easy to overshoot. The two things that cause most comebacks are misplaced bolt lengths and a dropped check ball. A four-cylinder truck adds the throttle cable connection; the V6 adds a fourth solenoid connector and more bolts. If your pan showed heavy clutch material, budget for a rebuild instead, since a valve body cannot restore burnt clutches. Our A340E/A340F delayed engagement and burnt clutch diagnosis covers that decision.

Frequently Asked Questions

What is the torque spec for A340E valve body bolts?

Per the 2003 Tacoma factory manual, the valve body bolts are 10 N·m (7 ft-lbf) on the 3RZ-FE four-cylinder and 11 N·m (8 ft-lbf) on the 5VZ-FE V6. The shift solenoid and strainer bolts are 10 N·m (7 ft-lbf). Confirm against the manual for your vehicle.

Can I replace the A340 valve body without removing the transmission?

Yes. Toyota lists valve body removal and installation as an on-vehicle repair. You drop the pan, remove the strainer and oil pipes, disconnect the solenoids and unbolt the valve body from underneath.

How do I know which A340 valve body I have?

Check the casting ID. Sonnax identifies the late ('00-later) A340E/F castings as Type 3 (#8935, V8, EPC only) and Type 4 (#8938, V6 or V8, EPC or cable throttle). Earlier Type 1 units use 8930/8931 castings.

Sources